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?