Scrren Capture

pobss

Member
Licensed User
Longtime User
hello, how can I invoke a screen capture from code without using the keys home - power?
(samsung galaxy ace 2.3.6)
 

susu

Well-Known Member
Licensed User
Longtime User
Try this code. Credit to Agraham ;)
 

Attachments

  • takescreenshot.zip
    5.9 KB · Views: 693
Upvote 0

Andras

Active Member
Licensed User
Longtime User
Screenshot UX on the Market does it nicely without needing to 'root' the phone. The basic version is free, too.

John
 
Upvote 0

pobss

Member
Licensed User
Longtime User
Thanks to all,
I then just a screecapture of Activity, with the example of njdude I have everything I need ...
grazie
 
Upvote 0

WAZUMBi

Well-Known Member
Licensed User
Longtime User
The Android SDK has a built in utility that I used. Assuming you installed to the default directory try:

C:\Program Files (x86)\Android\android-sdk\tools\ddms.bat
 
Upvote 0

WAZUMBi

Well-Known Member
Licensed User
Longtime User
The Android SDK has a built in utility that I use via a USB connection. Assuming you installed to the default directory try:

C:\Program Files (x86)\Android\android-sdk\tools\ddms.bat
 
Upvote 0
Top