Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide a folder in sdcard in android

Tags:

android

I am developing an android application, It create some folders at starting of the application, which have images, video files and subfolder, i want to hide these folders and files at creation time. these folder should not be seen, when we access sdcard manually in device.

like image 450
Himanshu Avatar asked Nov 15 '11 10:11

Himanshu


1 Answers

If you want to hide folder in Android or any Linux based system just add . as prefix to folder or file name.

However if you mount your SD card on Windows machine then these folders will be visible, with the . in front of the folder name, as a normal folder.

like image 121
ingsaurabh Avatar answered Oct 15 '22 05:10

ingsaurabh