Is it possible to dected a screenshots using adobe air app?
Is it possible to dected a screenshots using adobe air app?
Anyone already tried that?
https://github.com/akexorcist/ScreenshotDetection
https://gist.github.com/righettod/8f115d0916eff11a5345dc6cfce04a43
Win32 : https://jo0ls-dotnet-stuff.blogspot.com/2008/12/vbnet-global-keyboard-hook-to-detect.html
You can always code Native Extensions if you want to add functionalities that are non-existent inside of AIR.
Could you build this ane @marchbold ?
Distriqt is the best ANE developer!
We would buy for sure.
I feel like I did a custom ANE for a client a while ago to do this. I'll have a look and see if we can publish something.
Hi, Just circling back on this one as I've just released our work on the screenshot detection (iOS/Android at this point). Just a note, this allows you to detect that a screenshot was taken, not stop the screenshot from being taken.
https://github.com/airnativeextensions/ANE-DetectScreenshot
Documentation:
https://docs.airnativeextensions.com/docs/detectscreenshot
Let me know if you have a chance to try it out.
Does it detect the screenshot, a moment before the image is saved to the device, or a moment after? Like my bank app, rather than preventing the screenshot, if I try to take a screenshot it puts a black rectangle over everything so that my screenshot is a black rectangle. Could we do that with this extension?
After, I haven't seen a way to override a screenshot easily.
The only methods I've seen that works are methods like what snapchat does which is require input to display content (user has to long press content for it to play) and rely on the fact that touch events are cancelled before the screenshot is taken. Or to use the iOS hack of placing a transparent secure text field over your entire content, which should get blocked when taking the screenshot. Personally haven't tried either of these but those were the options from my research.