I am having a bit of a challenge having an application that I am developing create a directory on the removeable sdcard. What appears to be the standard method of doing this on many Samsung devices including the i9295,
File appDir = new File(Environment.getExternalStorageDirectory().get Parent() + "/external_sd", "testFolder");
does not work at all on my i9295 running a recent nightly Jactivelte build. What did work was using the mount point from /proc/mounts,
/storage/sdcard1 fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_ id=1023,default_permissions,allow_other 0 0
directly to create a file on the removeable sdcard. While this,
File appDir = new File(/storage/sdcard1, "testFile");
does work, it is pretty crude.
Does any one know if the reason that using ".getExternalStorageDirectory()" to create a file on the removeable sdcard not working is specific to CM builds?