I am calling camera:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(mImagesFolder, TEMP_PHOTO_FILENAME)));
startActivityForResult(intent, REQUEST_CODE_CAMERA);
The camera window shows, a photo is taken and everything looks OK, but in fact onActivityResult
is not called at all in my activity! I have put a log output between
public void onActivityResult(int requestCode, int resultCode, Intent data) {
and super.onActivityResult(requestCode, resultCode, data);
so I know for sure.
Instead, onCreate() and onResume() are called.
This happens on LG E975 device only.
How can I make it work?