Reputation: 31
External memory card can be read by Environment.getExternalStorageDirectory () to get an external memory card space. So how to get to the internal storage path? such as "/flash","/emmc",it is used as same as ExternalStorage, please help!
Upvotes: 3
Views: 5698
Reputation: 3226
you can get internal storage path by context.getCacheDir().and you can make file like below. File cacheDir = new File(context.getCacheDir(),"tempfile");
Upvotes: 3