Suppose I have two App A and B.I opened B from A using intent. Now I want to take screenshot of B from A App.
What I have tried:
I tried Media Projection API and implemented many solutions from Stackoverflow still I am not able to capture image. If you have any reference or resources please let me know.