Hi,
i have a question about device orientation and camera image.
I have developed an application like QCAR Dominoes sample and i need to rotate the interface (interface_overlay in sample) according to the device orientation.
I tried to set (in main application activity class)setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
but the effect is not that expected.
Thanks in advance.
Stefano
P.S: Sorry for my poor english...
QCAR samples ignore orientation changes. See the following in the AndroidManifest file:
android:configChanges="orientation|keyboardHidden"
You can change the orientation at startup by editing the initApplication method in Dominoes.java.
- Kim