[android-developers] Re: code for capturing screenshot of android device

2010-06-07 Thread Sudheendra
Hi max , thanks for reply and sorry for replying u so late :) I tried all the approaches in above code , but i didnt get the desired result . While debuging i can see that the view area is always null .. Is there some other approach to do this On Apr 28, 11:22 pm, Max Gilead

[android-developers] Re: code for capturing screenshot of android device

2010-04-28 Thread Sudheendra
Thanks Max , I will check out he app , also please let me know the code. Thanks a lot On Apr 28, 6:07 am, Max Gilead max.gil...@gmail.com wrote: You don't need to root your phone. While not obvious it's quite easy. I should have some code for that,I'll try to find it tomorrow if you still

Re: [android-developers] Re: code for capturing screenshot of android device

2010-04-28 Thread Max Gilead
Sudheendra, this is what I dug out from the depths of my SVN repo :) I told you it was simple, didn't I? :) If you don't have a current view you can get it using getWindow().getDecorView(). HTH, Max private static void screenshot(View view) { view.setDrawingCacheEnabled(true);

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Maps.Huge.Info (Maps API Guru)
From what I understand, it's only possible with rooted phones. -John Coryat -- 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

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Sudheendra
Rooted phones ??? what does it mean On Apr 27, 11:39 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: From what I understand, it's only possible with rooted phones. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread String
On Apr 27, 7:54 am, Sudheendra sudhindra.ma...@gmail.com wrote: Rooted phones ??? what does it mean Sounds like you need to do a bit of basic research first... http://lmgtfy.com/?q=root+android String -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Sudheendra
Thanks String , Thanks John ... So using rooted phone how can i do it On Apr 27, 12:38 pm, String sterling.ud...@googlemail.com wrote: On Apr 27, 7:54 am, Sudheendra sudhindra.ma...@gmail.com wrote: Rooted phones ??? what does it mean Sounds like you need to do a bit of basic research

Re: [android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Max Gilead
You don't need to root your phone. While not obvious it's quite easy. I should have some code for that,I'll try to find it tomorrow if you still need it (it's for capturing screenshot of your Activity). Capturing phone's desktop is also possible w/o rooting, see iSteam app from the Market but I