Hi,

Have a look at View.draw(Canvas canvas) in the docs
http://developer.android.com/reference/android/view/View.html

Create a Bitmap of an appropriate size and a Canvas which uses the
Bitmap, call View.draw(canvas) - using your view - then save the
Bitmap to file in whatever format jpg, png etc.

It works for most but not all types of  views.

Regards

On Sep 7, 2:42 pm, Ajeet Singh <[email protected]> wrote:
> I want to use screenshot kind of application in my own application. So
> that I can take picture in any format and save it.
>
> Can anybody give me hint what to use and how to start?
>
> Thanks in advance,
> Ajeet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to