HI all,
I use the mCamera.takePicture(null, null, jpegCallback); to snap
a picture through an activity. When the callback occurs I do see the
data (approx 1.5 MB in length) and I use the following to write it to
the
sdcard - but the image length written is 0. Any ideas as to why this
occurs?
String path =
Environment.getExternalStorageDirectory().toString();
OutputStream out = null;
File file = new File(path, "IMAGE.jpg");
out = new FileOutputStream(file);
System.out.println("Wrote image to =["+path+"]");
out.close();
Thanks
--
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