"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Device orientation

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 ([I]interface_overlay[/I] in sample) according to the device orientation. I tried to set (in main application activity class) [CODE]setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);[/CODE] 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: [CODE]android:configChanges="orientation|keyboardHidden"[/CODE] You can change the orientation at startup by editing the initApplication method in Dominoes.java. - Kim