Reputation: 1636
For my app I have to send a mail with a photo (I'm using a webservice to do that).
I'd like to know if there are some Android phones that does not produce jpg file with the camera (such as png file).
Upvotes: 7
Views: 23031
Reputation: 1043
I think every device should support JPEG images, because the description of the
takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback postview, Camera.PictureCallback jpeg)
method says that only raw and postview callbacks may be null.
On the other side, you may always call
camera.getParameters().getSupportedPictureFormats()
to see what picture formats are supported.
Upvotes: 5