如何破解手机禁止使用第三方相机

2025-03-15 15:53:06
推荐回答(3个)
回答1:

打开系统相机方法: 1、 使用打开系统相机package,但有的手机相机名称不是这个默认名称 Intent intent = getPackageManager().getLaunchIntentForPackage(“com.android.camera”); startActivity(intent); 2、 使用相机ACTION,打开相机应用 Intent intentCamera = new Intent(); intentCamera.setAction("android.media.action.STILL_IMAGE_CAMERA"); startActivity(intentCamera);

回答2:

答://Creates a new Camera object to access a particular hardware camera.Camera camera = Camera.open() ;//Returns the current settings for this Camera service.Parameters parameters = camera.getParameters();//Sets the dimensions for...这段代码写入系统相机中,就OK了!

回答3:

你是哪个公司的