Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude the overlay app icon from a screenshot

Im just brainstorming an idea and Im checking its possibility before starting the code. Lets say I have an app that takes a screenshot whenever I tap on its overlayed icon on screen,is there a way to exclude my app's icon from the resulting image?

like image 929
Azilvl Avatar asked Jul 01 '17 11:07

Azilvl


1 Answers

The media projection APIs simply capture what is on the screen. There is no means to say "ignore this window", other than by making the window not be there (or be transparent) at the time of the screen capture.

like image 121
CommonsWare Avatar answered Oct 03 '22 05:10

CommonsWare