Well, this is not exactly a question, as I\'m not really \"stuck\" on my code, but I\'ve found some strange behavior for Android API regarding accessing the external storage
try like this...
File outputDir = context.getCacheDir(); // context being the Activity pointer
File outputFile = File.createTempFile("prefix", "extension", outputDir);
Edit :
for Question 2
It may be issue as below link...
Environment.getExternalStorageDirectory does not return the path to the removable storage