" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
There are no. of tasks where we require to access Assets folder . Few of them are given below.
AssetManager assetManager = getAssets();
String files = null;
files = assetManager.list("");
catch (IOException e)
for (String filename : files)
InputStream in = null;
OutputStream out = null;
File f = new File("/mnt/sdcard/" + filename);
in = assetManager.open(filename);
// you can now use this Inputstream.
Mail (will not be published) (required)
Enter Captcha Code *
+ eight = 15
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...