2

So I was using Blockchain mobile wallet on my Android device and I had my blue light filter app on, when I opened the wallet app I got a warning that says "There is a screen recording/manipulating app" running on this device.

I'd like to have this feature in my app, is there a way to detect those kind of apps?

It's possible to block Screen shots with Flags

But is it possible to detect recording or filtering? This question is somewhat similar but the answer is not reliable at all, since there is an app with this feature.

Ege Kuzubasioglu
  • 5,991
  • 12
  • 49
  • 85

1 Answers1

0

You can use the FLAG_SECURE for prevent screen recording.

Example

@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
                WindowManager.LayoutParams.FLAG_SECURE);
}