How to make a file hidden in android sd card?

前端 未结 6 1468
滥情空心
滥情空心 2020-12-02 02:01

I am creating android application which contains DB that needs to be hidden(not able to access by the user)in the SD Card. Can anyone tell me how to do this?

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 02:27

    You can create a folder whose name starts with a dot(.) example (.dbfiles) android See these folders as configuration folder and do not show content of these folder in applications like gallery,music player...You can see these folders with advance file explorer like Es File explorer

提交回复
热议问题