I'm using the standard camera intent to take a photo:
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(takePictureIntent, actionCode);
And then in onActivityResult()
Bundle extras = intent.getExtras();
Bitmap imageBitmap = (Bitmap) extras.get("data");
mImageView.setImageBitmap(imageBitmap);
Bitmap is a thumbnail. That's great - I don't need full size images.
Before user can take a photo, I display a default thumbnail that they can click and that will open the camera. However, I don't know what to size the default thumbnail.
- Would the camera app return thumbnails of different size per device?
- Is there an Android standard?
- Will some devices return really small or really large thumbnails? In that case I need to specify the size before hand. How can I do that?
MediaStore.Images.Thumbnails.MICRO_KIND is 96x96. http://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails.html Is that the size being returned by default?