Prevent Camera Capture on Android handet

Is it possible to write an application to prevent the Android handset from storing the capture picture? My thoughts are a. Hook onto native camera apps and monitor for camera capture (or events). Once there is a capture event, my application will be able to detect and maybe remove the capture picture b. Continously monitor camera capture picture storage. Are there any known i/o api l can use to do this? c. Prevent all writes to the OS. Possible?

Thanks for all the feedback in advance!


Asked by: Eric451 | Posted: 24-01-2022

Answer 1

No. If this were possible, it would be a security violation.

Answered by: Chloe976 | Posted: 25-02-2022

Similar questions

okhttp - How to prevent http packet capture in Android?

In our android app using rest api. when i try to capture request and response via pocket capture android app it is showing what is request and response. i want to prevent http capture for request and response.

java - Prevent Screen Capture in Android One Devices

I want to prevent screenshot capture in android phones. I added the line requireActivity().window.setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE) This is working fine in normal devices. But when I try on android one devices, ( ), it is still captu...

Is there any way to prevent an Android app from being removed?

Does anyone know if there's a way to either keep the user from uninstalling an app from an Android phone or reinstall it on removal? Before you flame me, please know that I have an app that's intended to be installed on the phone by a parent/employer/etc. and has a password-protected settings screen; the user would need to enter the password to remove the app.

How to prevent volume keys and camera key from waking up phone in Android?

I have an activity that I want to show up when the phone goes to sleep. However, the phone wakes up when I press the volume buttons or the camera button. I tried using the dispatchKeyEvent(KeyEvent event) method, but it doesn't prevent the phone from waking up. How else can I disable that functionality? Thanks,

is there a way to prevent views from beeing scaled in android?

I have a custom view that is scaling to 200% when the user clicks on it. Now I want to prevent some controls/views in that custom view from beeing scaled. Is there some way to do this?

android - Prevent SeekBar from moving past a dynamic point

I need two SeekBars for setting a minimum and maximum, and the thumb on each SeekBar cannot move past the other. Is there a way to disallow moving the SeekBar past a specific point?

android - prevent mobile from going into sleep mode when app is running

I want to prevent Android Mobile from going into sleep mode when my threads are sending HTTP request. as what happened while threads are doing HTTP calls mobiles goes to sleep mode and when user wakes up the phone threads never complete. User has to restart the app. what to do? please help

android - Prevent battery "damages"

I'm currently developing with Android SDK, and because I'm building an application based on camera, I cannot use the emulator to test it. This means that the following scenario happens quite frequently I connect my phone to USB the battery is 50% I disconnect it before it is fully charged, e.g. 80% I have to leave, and I want to take my phone with me I come back and connec...

Prevent locking on custom Android app

What code would you use to prevent the Droid from locking on an app? I am writing an app that uses sockets, and it is essential that the screen not lock in the middle of the app's execution.

xml - Prevent Android UI scaling

Basically I have a series of imageviews within a linear layout. I've set each of the imageviews layout width and layout height properties to 100dp and 50dp respectively (I've also tried px instead of dp and I've tried changing the imageviews max size) but the imageviews continue to scale rather than staying at this fixed size. I was just wondering if anyone knows what I am doing wrong? XML: ...

android - Prevent TabHost Tab Change?

Is there any way with the stock Android TabHost to prevent a tab change from taking place ??? In iOS, there is a delegate callback called shouldSelectViewController on the tabBarController, which if you return FALSE prevents the tab change from taking place. Android has an onTabChanged() delegate, but that appears to be an after-the-fact notification that the tab change has taken place (it returns void).

android - Prevent Mp3 file to play in another Media player

I am developing media player and my application download mp3 file from server . So i want to prevent it from another media player to play it. Case User get file from server (music file1.mp3) in android phone ! User play it in our player but can't share it or download it in computer or play in another media player. I try Below I can encrypt a file and decrypt it again in my app (...

Still can't find your answer? Check out these communities...

Android Google Support | Android Community | Android Community (Facebook) | Android