I am a newbie android developer. I need to know if there is a way to create hidden folders and hidden files in android programatically. There must be a way to create hidden folders in sdcard. But I don't know how? Any help is appreciated. Thanks.
Asked
Active
Viewed 1.6k times
1 Answers
39
I don't use Android (Read: this answer may be entirely wrong). However...
Since Android has *IX roots, then any file (or directory) beginning with a period ('.') should be hidden. Be warned, however, that this is merely a convention (to prevent the files from being listed in certain default conditions) and does not add any privacy or security to the files.
Happy coding.
-
1If you find the answer helpful, then please mark the answer as accepted by clicking the small tick mark at the left side of the posted answer. – Mahendra Liya May 04 '11 at 05:05
-
1k views for this answer? I was expecting a small, quick'n'dirty rootkit. :( – Christian Feb 29 '12 at 22:55