Skip to content Skip to sidebar Skip to footer

Android Create Internal Storage Folder Without _app Prefix

I am using following code to successfuly create folders on internal memory, but adds a prefix '_app'! So if I create 'aplications' folder, it will be named as 'app_aplications'. Ho

Solution 1:

You can use Java API instead of Android API:

try{

  boolean success = new File("data/data/com.sample/aplications").mkdir();
  if (success)
    // directory created

}catch (Expception e)
...

Post a Comment for "Android Create Internal Storage Folder Without _app Prefix"