I want to make an application in android ,which can hide my selected files are folders from Sdcard . your suggestion will be appreciated.Thanks!!
Asked
Active
Viewed 186 times
1 Answers
2
In the Android file system (which is UNIX
based), you can prepend a file or folder name with a period, and it will be invisible to standard file browsers (though not un-findable). So for example, the file .hidden
will be hidden, whereas visible
would be seen by users.

Phil
- 35,852
- 23
- 123
- 164
-
This is partially true. Prepending name with dot is NOT handled on filesystem level. Files/folders with name prepended with dot are just regular files/folders. The fact they are sometimes treated as "hidden" is handled on application level (i.e. `ls` or `mc` eetc). So UNIX or not makes absolutely no difference - app need to support this naming schema as there no magic – Marcin Orlowski Oct 28 '12 at 20:26
-
It is good to further clarify this, however I did specify this by using the phrase "invisible to *standard* file browsers." – Phil Oct 29 '12 at 04:35