1. Are you ready for the Galaxy S20? Here is everything we know so far!

Prevent Android app from opening Fake Camera

Discussion in 'Android Development' started by Pawan Choudhary, Nov 8, 2019.

  1. Pawan Choudhary

    Thread Starter

    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
     



    1. Download the Forums for Android™ app!


      Download

       
  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    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.
     
    Unforgiven likes this.
Loading...
Similar Threads - Prevent Android app
  1. puppykickr
    Replies:
    4
    Views:
    797
  2. marioprata
    Replies:
    5
    Views:
    2,768
  3. jewu
    Replies:
    2
    Views:
    970
  4. Techie_Ind
    Replies:
    2
    Views:
    1,246
  5. pranaman
    Replies:
    1
    Views:
    551
  6. Mahmoud MABROUK
    Replies:
    0
    Views:
    1,276
  7. zepking
    Replies:
    5
    Views:
    1,029
  8. gimommy
    Replies:
    0
    Views:
    500
  9. pstein
    Replies:
    2
    Views:
    534
  10. Android News
    Replies:
    0
    Views:
    378

Share This Page

Loading...