How to open default camera without showing chooser?
问题 How to open default camera in your application? I don't want to open chooser for it (its client's requirement). I am using this intent android.media.action.IMAGE_CAPTURE and calling activity for result. Everything is fine but apps like Line Camera, Paper Camera are appearing in chooser with default camera app, i don't want to show chooser for. Your attentions will be highly appreciated. 回答1: List<ApplicationInfo> list = packageManager.getInstalledApplications(PackageManager.GET_UNINSTALLED