android-Camera2Basic icon indicating copy to clipboard operation
android-Camera2Basic copied to clipboard

Migrated:

Results android-Camera2Basic issues
Sort by recently updated
recently updated
newest added

i am geting error on import android.support.v13.app.FragmentCompat; lib the support is not suites me i am using sdk 21 -23 please provide alternate which supports support.v4 or v7 app compats

I am trying to implement a camera with a focus on a special area. So far I Have implemented a method from what I have seen in the tutorial ```...

Camera2BasicFragment.java:514 "getActivity().checkSelfPermission(Manifest.permission.CAMERA)" call requires API level 23 but the current min set is 21. I'm testing in my phone that has API level 21 installed, what is the workaround or...

bug

To reproduce this, run the app (tested on Nexus 7 2013 running Android 5.1), then press the BACK button to exit the app. Lines like the following will appear in...

When I change the code for Front Camera ``` if (characteristics.get(CameraCharacteristics.LENS_FACING) == CameraCharacteristics.LENS_FACING_FRONT) { ``` // continue; // Coment here // } // Coment here ..... do some thing here...

E/AndroidRuntime( 5504): FATAL EXCEPTION: main E/AndroidRuntime( 5504): Process: com.yohan.cameraexample, PID: 5504 E/AndroidRuntime( 5504): java.lang.RuntimeException: setParameters failed E/AndroidRuntime( 5504): at android.hardware.Camera.native_setParameters(Native Method) E/AndroidRuntime( 5504): at android.hardware.Camera.setParameters(Camera.java:1876) E/AndroidRuntime( 5504): at com.yohan.cameraexample.Preview.surfaceChanged(Preview.java:77) E/AndroidRuntime(...

Each invocation of `takePicture` captures 2 images. This can be verified by adding logging info to `ImageSaver.run()`. Issue seen on Motorola Nexus 6.

1. In portrait mode, the blue side bar and 'picture' button aren't visible due to the 4x3 aspect ratio of the Nexus 9. The blue bar should be semi-transparent like...

Though this sample was designed for `Android L developer preview`, I downloaded the sample for `Android L` from http://developer.android.com/samples/Camera2Basic/. When I click the picture, I get following error ``` Java...

Sometimes the preview presents a skewed image, as if you were elongating the image. Here's the most consistent way I can reproduce this: 1) Start the app with phone in...