Hi all,
        I could not save my image in phone.Here is my code

         Bitmap imageMap=BitmapFactory.decodeByteArray(data,0,data.length);
         File root = Environment.getExternalStorageDirectory();
    File f1 = new File(root.getAbsolutePath()+"/DCIM/Camera/","image.jpeg");
        FileOutputStream fos=new FileOutputStream(f1);
       imageMap.compress(Bitmap.CompressFormat.JPEG,85,fos);
       fos.flush();
       fos.close();
       Anyone help on this

Thanks,
vijay.k

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

Reply via email to