In My Android Camera Application, I am using this code to get Select Image from the Android Gallery.
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);//
//startActivity(intent);
startActivityForResult(Intent.createChooser(intent, "Select Picture"),10);
//finish();
I got the Gallery and all seems fine. but while i select on perticular image on the Gallery then nothing is happend and the activity of gallery get finish.
I want to Select that image and do some operation on it.
How it is possible ??
As you are starting the ActivityForResult you need to write
onActivityResultand you can get the output of the called intent in that like this,