I am using this Code to generate an camera intent
Log.i(TAG, "starting Camera action");
appData.setApplicationMode( ApplicationModeEnum.PICTURE_FIRST_MODE.name() );
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, this.getApplicationContext().getDir("images", MODE_PRIVATE));
In the ActivityResult I retrieve the uri of the tak
I continuously get OutOfMemory exceptions trying to decode an image from camera in my Android app.
I have that app that takes a picture and stores it to the SD card, however every picture I take it extremely compressed and very low quality. I compress it with full quality so I'm not sure why it's doing this. Any suggestions?
My camera intent has a glitch. It saves the pictures properly to the storage, but it doesn't return the filepath to my activity.
hi there i have this code and how can i convert image into bitmap ?
i have a button on MainActivity that when i click it it open activity that show galery photo
and when i clicked one of the photo list , i want to get path of this picture to MainActivity
this is my code
MainActivity
case R.id.btn_tool_galery:
enter Intent in=new Intent(this,ListViewImagesActivity.class);
startActivityForResult(in, 2);
break;
@Override
public void onActivityResult(
in my android application, when i click on button new activity starts and retrieves image info from sdcard n display it.when i click one of thumbnail of image i want to send that image to 1st activity.how can i do this using startactivityforresult.how to store image path and send it back to 1st activity.i want array for storing uri off all images as i'm listing them dynamically
in 1st activty-
Is it possible to get the video thumbnail PATH, not Bitmap object itself? I'm aware of method
MediaStore.Images.Thumbnails.queryMiniThumbnail
but since I use my own Bitmap caching mechanism I want to have the path to video thumbnail rather than the Bitmap object itself. This method returns Bitmap object, not path.
Thanks
My scenario:
In my activity, I have to show 2 galleries, 1 with large image and another is a thumbnail(same exactly like default Gallery application).
My doubts:
I am planning to save as 2 images(1 with large size and another one with thumbnail size) in sdcard for fast processing. Is that good practice?