Azilvl
Azilvl

Reputation: 147

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?

Upvotes: 6

Views: 1330

Answers (2)

Mohamad Rostami
Mohamad Rostami

Reputation: 420

very simple

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

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1006674

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.

Upvotes: 5

Related Questions