Disable Screenshots/Capturing

Article 19 in Android-Java

2020-08-15 03:44:12 from bugfish
Disable Screenshots/Capturing
Android-Java / Hints
Last Review on: 2021-08-02 23:46:10 | Hits: 290

In Constructor


// Disable Screenshots
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Comment Section
Currently 1 Upvotes!
captcha image

System - 2021-01-02 18:07:27
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.