Monday, July 21, 2014

Saving a file in sdcard

Many a times, you want to save some contents permanently from your program. If the data is few words, you can save them in shared preferences. But for larger contents, you need to use a file. To save a file in sdcard, first of all you should have the permission in your app. You should add this line in AndroidManifest.xml file.