How to open an Android device's default camera without showing the chooser. -
i have button that, when pressed, user gets asked choose camera app , allows him/her take picture. firstly, want rid of choice when button pressed user in camera interface. code i'm using right (after having tried many solutions online), prompt user choose camera: intent = new intent(android.provider.mediastore.action_image_capture); try { packagemanager pm = this.getpackagemanager(); final resolveinfo minfo = pm.resolveactivity(i, 0); intent intent = new intent(); intent.setcomponent(new componentname(minfo.activityinfo.packagename, minfo.activityinfo.name)); intent.setaction(mediastore.action_image_capture); intent.addcategory(intent.category_launcher); startactivity(intent); } catch (exception e) { log.i("tag", "unable launch camera: " + e); } i have skimmed through few articles not possible launch android native/default camera without chooser - however, see apps faceboo...