android: how to hide folder from appearing in the Gallery

前端 未结 6 1634
难免孤独
难免孤独 2020-12-14 19:15

I have an application that creates a folder in the sd-card. After that, I do several operations which may result in storing different media files, graphics in my folder. The

6条回答
  •  粉色の甜心
    2020-12-14 19:56

    Go to My Files folder, then Pictures or create a folder and name it whatever you want. Go the newly created folder, add another folder again and name it .nomedia. Copy or move photos in the folder (not the .nomedia coz it won't show after creating it). Then you check in the gallery, and voila! Folder isn't shown!

    PS: The pictures you have copied/moved can be viewed only in My Files folder, which is much safer.. ;) PPS: This works on my samsung galaxy win.

    Hope I had helped a little Thanks.

提交回复
热议问题