You should add WRITE_EXTERNAL_STORAGE permission to your Android_Manifest.xml then you can write and read from sdcard but be careful, you should test if you can write to external before writing anything to make sure you are actually writing to SDcard. Other than eveyrthing is same as just regular Java io coding
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />