views:

10

answers:

0

I'm now using this method: MediaStore.Images.Media.insertImage. There are two choices: final static StringinsertImage(ContentResolver cr, String imagePath, String name, String description) Insert an image and create a thumbnail for it. final static StringinsertImage(ContentResolver cr, Bitmap source, String title, String description) Insert an image and create a thumbnail for it.

But I really have no idea about this. If I use the first one, I have to storage the image fitst(FileOutputStream), but after I took two photo, G1 sent me OutOfMemoryException..Because first method actually uses the second one.. and will BitmapFactory.decodeFile(File ..), and everything sucks..