I\'m using the intent new Intent(MediaStore.ACTION_IMAGE_CAPTURE); to capture an image for use in my application. I have two applications installed on my de
the default camera app is the first app was installed. So, the first element in camlist is the default app
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
PackageManager packageManager = MapsActivity.this.getPackageManager();
List listCam = packageManager.queryIntentActivities(intent, 0);
intent.setPackage(listCam.get(0).activityInfo.packageName);
startActivityForResult(intent,INTENT_REQUESTCODE1);