Programmatic screencapture on mobile device?

There is a long discussion of this on android-developers but the short answer is: You can't programatically take a screenshot of an android device's screen at the moment, unless.

There is a long discussion of this on android-developers, but the short answer is: You can't programatically take a screenshot of an android device's screen at the moment, unless You have root access on that phone, or Your application is a system application The Android Manifest permission READ_FRAME_BUFFER exists (see the api docs here), but can presently only be used by system applications. There are various reasons for this, one being that it is a security risk. If an background can take a screenshot of the phone's screen at any time, then people could use OCR techniques to sniff user's passwords as they were typed in, among other private information.So no, a VNC application is not possible at the moment without root.

To take a screenshot from your computer (while the phone is plugged in via usb) you can use DDMS.

Something like that might work for you: View v = view.getRootView(); v. SetDrawingCacheEnabled(true); Bitmap be = v.getDrawingCache().

Thanks, this is just what I needed! I had a similar problem but I only wanted a Bitmap of my app, not the OS UI etc – Sbm007 Aug 8 '11 at 16:31.

You can try the following library: code.google.com/p/android-screenshot-lib... Android Screenshot Library (ASL) enables to programmatically capture screenshots from Android devices without requirement of having root access privileges. Instead, ASL utilizes a native service running in the background, started via the Android Debug Bridge (ADB) once per device boot.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions