Open sjfricke opened 7 years ago
I found if I manually run adb shell am grant com.my.app.package android.permission.CAMERA
it works, but not sure why this isn't automatic
Other option is to add
private static final int MY_CAMERA_REQUEST_CODE = 100;
if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED)
{
requestPermissions(new String[]{Manifest.permission.CAMERA}, MY_CAMERA_REQUEST_CODE);
}
to the samples
I have spent a lot of time making sure my example is exactly as that of hello_video and I keep getting
While what it SHOULD be is