• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Prevent Android app from opening Fake Camera

We have an Android app, that supports clicking pics using Camera only and not gallery. However certain 3rd party apps like Gallery Cam or Fake Camera apps, prevent this from happening by modifying the source of camera control from camera to gallery, so the user is able to choose pic from gallery. This defeats the purpose of the app. Looking for suggestions to prevent the same by prompting the user if the pic is not captured from the camera
 
Non-developer here, but my hunch is that you'd need to build the camera functionality into your app instead of offloading to another camera app. That's the only thing I can think of to prevent the external intent from being intercepted by another app.
 
Back
Top Bottom