I'm trying Sample-videochat-android and run ok. But, my app used all in landscape mode, so OpponentView and CameraView still show in portrait mode. Is there config to help?
Related
I've just noticed this quirk with android emulators. They seem to always photo in landscape mode, even when the phone is in portrait mode. This isn't a problem when running the actual code on a live device.
Why does android emulator do that?
i using Zxing library 2.3 for barcode scanning.
i decide to use this in portrait mode. then i use this help .
but the screen still in landscape and picture in portrait.
like the screen shot:
(in this pictures mobile is in portrait mode)
how to fix that?
I made a game with Adobe AIR and ActionScript 3 for Android devices.
My problem is with landscape mode. Everything is fine as long as the device get lock screen.
When you open the screen and return to the game, it has changed from landscape to portrait mode.
I fixed this with:
stage.addEventListener(Event.ACTIVATE,Activate);
into Activate function: stage.setAspectRatio(StageAspectRatio.LANDSCAPE);
into Activate function: stage.displayState = StageDisplayState.FULL_SCREEN;
portrait problem is fixed but FULL SCREEN is with android titlebar... How can I fix it?
I'm currently trying to run an Android application on a BlackBerry Q10. The application forces itself into landscape mode, but Q10 does not support it.
I've already tried changing the AndroidManifest.xml file (changing landscape mode to portrait mode), the splash screen runs perfectly in portrait mode, the rest won't load (screen turns black) because it still forces itself into landscape mode.
Can someone help me with this?
Regards
My app runs in landscape mode.
I have android:screenOrientation="landscape" set in AndroidManifest.xml file.
If the screen orientation of the device is locked to portrait mode, then my app still runs in landscape mode. But the gallery activity started from within the app runs in portrait mode.
Is there any way to force gallery activity to always run in landscape mode?
As long as the device is locked to portrait mode, There is no way to achieve this.
Of course you could try to change the device orientation to landscape (in your app) so that the gallery runs in landscape but this will cause a confusion to the user.