Google Product Forums

Re: nexus7

hack.operon Jul 4, 2012 6:54 AM
Posted in group: Google Mobile Help Forum

Categories: Android Devices : Android Applications :

> So it sounds like this cam wouldn't read a QR code either which would be very strange eh?

why won't it? why can't it? how did you gather that from my answer?

Its just that most apps will work and some will have to change a couple of lines of code

            for (int i = 0; i < numberOfCameras; i++) {
                Camera.getCameraInfo(i, cameraInfo);
                if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) {
                    defaultCameraId = i;
                }

That is based on sample code google has made available since 2011.