I got the following crash report in my Android app while trying to call the ACTION_IMAGE_CAPTURE intent. This code has been working in my application for several months without any problems. I suppose this is something specific to a particular type of phone, but unfortunately Google does not provide me any additional information beyond the stack trace. Any ideas that this crash report could trigger?
Stack trace
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE } at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1409) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1379) at android.app.Activity.startActivityFromChild(Activity.java:3067) at android.app.Activity.startActivityForResult(Activity.java:2847)
Manufacturer Code
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(cameraIntent, MY_CAMERA_ACTIVITY_REQUEST_CODE);
Manifest entries
<uses-sdk android:minSdkVersion="7" /> <uses-feature android:name="android.hardware.camera" />
source share