How to get root activity view from service in android?

I am creating an application that takes screenshots of applications opened by the user and sends them to the server at regular intervals. I use the service to take screenshots, but I can not find any method to get the root view of the activity. Is this possible with NDK?

+6
source share

Source: https://habr.com/ru/post/924054/


All Articles