Take a look at View.copyWindowBitmap. However, this function works only in M3, it crash on M5. It is planned to be removed in future releases. More on this topic:
http://groups.google.com/group/android-developers/browse_thread/thread/714c16b6333dc8fb/6409a095bb814e7e?lnk=gst&q=copyWindowBitmap Take a look also to Surface.screenshot() (didnt explore this method yet). If you are using a SurfaceView you can get a Surface by SurfaceView.getHolder().getSurface(). http://code.google.com/android/reference/android/view/Surface.html#screenshot() I am still wonder how to take a screenshot out of a View. Hope that helps! br On Apr 6, 2:49 pm, "Dexter's Brain" <[EMAIL PROTECTED]> wrote: > I am aware of that...but what i want is to do it from within an > application...on the press of a button. > > Dexter. > > On Apr 6, 2:04 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > > > > > > > yes, go to DDMS perspective in eclipse, there is a screen capture tool. > > > harsh > > > On Sun, Apr 6, 2008 at 1:41 PM, Dexter's Brain <[EMAIL PROTECTED]> wrote: > > > > Hello All, > > > > From my aplication. I need to take a screenshot and save it as a > > > picture. Is it possible??? > > > > Dexter. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

