Saturday, September 29, 2018

Exclude the overlay app icon from a screenshot

Leave a Comment

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?

2 Answers

Answers 1

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.

Answers 2

very simple

hide the icon at the capture time and then make it visible after that.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment