android前置摄像头开启,如何在android中使用Intent打开前置摄像头?-CSDN博客

网站介绍:文章浏览阅读1.4k次。java的Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);Uri photoUri = Uri.fromFile(getOutputPhotoFile());intent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri);intent.putExtra("android.intent.ex..._安卓intent.extra_allow_camera