By jochemr
on Mon, 06/29/2015 - 11:52
Hello,
I've been trying to make landscape orientation available in my app, in which I've implemented the Videoplayback sample, by using code from the Books sample.
I keep having the problem that when I turn my phone to landscape the camera view isn't the right size, as you can see in the attached image (1).Another weird thing is that when I open the scanner while already holding my phone in landscape the camera view is the right size, but now the portrait view is wrong (see image 2).
Am I missing something? Do you have any idea what could be the problem or do you maybe need some more information?
Videoplayback Landscape problem
I suggest to use the videoplayback sample and use it as a template for my app. It has handled the rotation of the device pretty well.
HTH
Videoplayback Landscape problem
I'm already using the videoplayback sample as a template for my app. But it doesn't feature rotation of itself, does it (on iOS at least)?
Videoplayback Landscape problem
What SDK are you using Android?
If my understanding is correct, videoplayback sample handles device rotation better than the image target sample. This is for ios sdk 4.2.3
Videoplayback Landscape problem
I'm only building my app for iOS so no Android SDK is involved.
I also added UI elements and I want to rotate them when the device is rotated. That's why I tried adding code from the Books sample, where the rotation works as I want it.