• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Created folder in sdcard is not visible through WindowsExplorer

GodSaveMe

Lurker
Hi Community,

I have created a folder in SdCard using a code below:
if (Environment.MEDIA_MOUNTED.equals(state)) {
// We can read and write the media

Log.v("Storage","ablo to read and write");
//create Beatss folder
File direct = new File(Environment.getExternalStorageDirectory() + "/Beatss");
boolean success = true;
if (!direct.exists()) {
success = direct.mkdir();
}
I can see that this folder has been created through DDMS. When I connect phone via USB to computer and explore the sdCard i dont see this folder. However, as I mentioned I can see it via DDMS. What is wrong?
 
I have setted permissions in the Manifest, otherwise I couldnt create a folder. As I mentioned I can see that folder has been created in the device's sdcard. I just cant see it via WindowsExplorer. In future app release, I want users to add some stuff via USB connect so, i need some folder to be appeared in device so they can put their stuff.
 
Back
Top Bottom