Our Android application can provide sensitive data, and we want to hide it when the application is not in use. Android takes a snapshot of the application and displays it in a review . At the same time, we want the user to be able to use screenshots of the application when using it. We have already checked the following parameters:
- Using FLAG_SECURE - responds to the need to hide the application on the browse screen, but completely blocks the user from any screenshot
- Using onPause to change activity content. In particular, we tried to show a screensaver there. We see that the splash screen appears when the application is minimized, but the thumbnail represents the application before the surge, which means it's too late.
Any idea on how we can hide / change activity before the application moves to the background and still retains the capabilities of the print screen when the user uses the application?
Here are some links about the problem - all this only partially relates to this issue:
Thanks!
source share