Re: [android-developers] screenshot in android

2011-11-24 Thread Lew
Mukesh Srivastav wrote: > > L... Step 4: in the Step 3# you have the Bitmap object, use File:\\ > operations to save the bitmap. you are done. Did you mean "file://" operations? I am not familiar with "File:\\" operations. As for file operations, Android (i.e., Linux) doesn't use backsla

Re: [android-developers] screenshot in android

2011-11-24 Thread Lew
As stated by another poster, this technique will not give you a _screen_ shot but a image of GUI elements within the activity. They are not quite the same. Also, some techniques for grabbing frame-buffer data can retrieve partially-drawn frames. The only way I've found to reliably obtain a fu

Re: [android-developers] screenshot in android

2011-11-24 Thread lbendlin
on a rooted phone you can dump the contents of the framebuffer into a bitmap and then convert either of the frames (the buffer has two) into whatever image format you want. something like cat /dev/graphics/fb0 > grab.raw -- You received this message because you are subscribed to the Google Gro

Re: [android-developers] screenshot in android

2011-11-24 Thread Mukesh Srivastav
Let me give u an Example: Let's say you have a layout and it has a parent layout could be (Relative,Absoulte or LinerLayout). Take the id out of it. Below are the steps to do this. Step 1: Declare a Variable View screen; Step 2: in public void onCreate(Bundle savedInstanceState) Method scr

Re: [android-developers] screenshot in android

2011-11-24 Thread Mark Murphy
On Thu, Nov 24, 2011 at 5:57 AM, vani reddy wrote: > How to take the screeenshot of android device programmatically..Apart from > using in DDMS. This is not supported by Android. There are ways to capture the image of your own activity (I think using the drawing cache), but you cannot programmati

[android-developers] screenshot in android

2011-11-24 Thread vani reddy
Hi friends, How to take the screeenshot of android device programmatically..Apart from using in DDMS. -- Regards, Vani Reddy -- 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@googlegro