When you create the instance of Canvas, you need to provide the
reference of the bitmap and when you are done with drawing use this

http://developer.android.com/reference/android/graphics/Bitmap.html#compress%28android.graphics.Bitmap.CompressFormat,%20int,%20java.io.OutputStream%29

Vishal

On Aug 26, 5:30 pm, Shalini <coolcool.shal...@gmail.com> wrote:
> On Aug 25, 2:36 pm, Shalini <coolcool.shal...@gmail.com> wrote:
>
>
>
> > i had created a view and wanted to store it as a image in the sdcard
> > of the emulator, i mean i have done drawing on canvas and now i want to 
> > store the drawing as an image in sdcard
> > how can i do this?/?
> > please tell as soon as possible- Hide quoted text -
>
> - Show quoted text -

-- 
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 to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to