i have Activated the android camera taken photo , but how do i preview the image in image View? i have used the below code.....
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (resultCode == Activity.RESULT_OK && requestCode == 0) {
Uri uri = data.getData();
ImageView image = new ImageView(this);
image.setImageURI(uri);
}
}
public void onClick(DialogInterface arg0, int arg1) {
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
startActivityForResult(intent, 0);
}