Camera intent/Activity - avoid saving to gallery

前端 未结 3 1750
生来不讨喜
生来不讨喜 2021-02-07 17:35

I am using the Camera Activity to capture the picture. I call it with the MediaStore.EXTRA_OUTPUT extra parameter. The image is correctly saved

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-07 17:53

    How about saving your images with non-image extension ? Something like michael.photo instead of michael.jpg/png etc.That way Gallery app wont take them in and I have seen many such apps keepsafe for example does this.

提交回复
热议问题