make private folder
When my application starts, I am creating one folder/directory and writing one file i开发者_运维技巧nto it Now what I want is, only my application can access this folder , no other can access this Is it possible in Android or Not Please can some one tell me
Thanks
for that you need to make that folder in application's internal memory, so that no one can access that folder .
private File cacheDir = null;
cacheDir = new File(getCacheDir(),"your folder name");
if (!cacheDir.exists())
cacheDir.mkdirs();
精彩评论