• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create my application related folder in sdcard such that it is not visible to other applications

 
yash bhatia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Is there any way i can create my application related folder which consists of number of files, in sdcard, such that it is not visible to other applications.
I tried creating that folder in application private data directories but since this is stored in internal memory,number of files that folder can contain is limited.
Kindly give any solution hw to achieve this.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a .nomedia text file and put it inside your folder. Android MediaScanner will skip this folder and other applications should not be able to read the contents of this folder.
Try it out.

Also, if you are using .nomedia please read Issue 3692 first.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic