Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top