• Post Reply Bookmark Topic Watch Topic
  • New Topic

How Save image on sd card ?  RSS feed

 
Farshad Zeinali
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dears

How I can save an image on sd card ?
thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See http://developer.android.com/guide/topics/data/data-storage.html#filesExternal for how to store files on the SD card.

If you have the image as a Bitmap, you can write it to an OutputStream via the Bitmap's compress method.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!