How to create private folder in sdcard

前端 未结 5 1994
名媛妹妹
名媛妹妹 2021-02-05 16:05

My application is used for security purpose. so, from my application user captures photos that all photos are stored in a folder that folder should not access from any other app

5条回答
  •  感动是毒
    2021-02-05 16:36

    Its not possible to give no access to that folder when device connected to pc.. Also its not possible on sdcard also, But you can use different format for images that can be opened only from your application, or you can encrypt images. Or if you want to hide images from showing them into gallery, you can put a blank file with name as ".nomedia" in your folder. But its not possible cause if u read docs about WRITE_EXTERNEL_STORAGE permission you will understand what I am saying. :)

提交回复
热议问题