Question

I'm using MANATEE WORKS to read bar codes, but when I moved the phone to the left, the image of the camera goes down and when I moved the phone to the right, the image goes up. When I moved the phone up, the image of the camera will move to the left and when the phone down, the image goes to the right.

Examples in: http://manateeworks.com/download (Andorid)

What can be happening? This has solution?

Était-ce utile?

La solution

// deprecated setting, but required on Android versions prior to 3.0 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

Change to:
// mHolder.setType(SurfaceHolder.SURFACE_TYPE_NORMAL);

But not work in Android versions prior to 3.0

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top