Your process will need permission to do that. ADB has it by default, but regular apps don't. Unless you're rooted, you can't do that.
On Jun 2, 4:27 am, Bharathiraja R <bharathiraja.andr...@gmail.com> wrote: > Hi All, > > Want sample code to capture screenshot of current screen from phone, > same like ddms (screen capture). > Please help me out. > > Regards, > Bharathiraja R -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en