简体   繁体   中英

how to screenshot entire phone screen with status bar in android

I have been trying for a while now to capture a screenshot of the entire phone screen( with android status bar icons)...but am only able to capture my current activity in my app. I will appreciate if someone can help me out with java code for screenshoting the entire screen not just my current activity in my app using a button

pls read this code from the link. It helped me with a similar situation like yours. Screeenshot in android programmatically

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM