device-orientation Questions
5
Solved
I have an iPhone application most of which is portrait-only, but with one view controller (a video player screen) that has to support both portrait and landscape (this is for iOS 8 only). To achiev...
Deodar asked 10/11, 2014 at 19:25
4
Solved
I implemented In-app Billing (v3) according to Android's Implementing In-app Billing guide.
All works fine, until I rotate the device, then immediately rotate it back to it's original orientation....
Hirza asked 14/8, 2013 at 4:18
5
When I record video by MediaRecorder, it always records in landscape mode, regardless of real device orientation.
How to force MediaRecorder/Camera use real orientation ?
Shari asked 10/10, 2010 at 16:12
1
Solved
I am well aware of the existence of this question but mine will differ. I also know that there could be significant errors with this approach but I want to understand the configuration also theoret...
Immolate asked 11/2, 2017 at 13:48
2
My problem:
For some requirements i need two different xml layouts for my activity:
One for Landscape mode.
And another one for Landscape-reverse mode (upside-down of Landscape).
Unfortunately...
Sarah asked 11/1, 2016 at 19:36
2
I am developing the app which supporst landscape and portrait both modes ,my launch screen has landscape orientation before ios 9 it was ok but ios 9 launch screen is getting launched in portrait m...
Multi asked 7/10, 2015 at 11:8
2
I'm trying to set the initial orientation for my app to be
UIInterfaceOrientationLandscapeLeft
I cant get
'Initial interface orientation'[UIInterfaceOrientation]
to override the first item in ...
Potential asked 15/2, 2012 at 17:30
4
Solved
It is an superclass file name Apporientationviewcontroller.h/m. And i am calling this super class in all other subclasses. So that if "isPortraitModeONN" is "ON"
then all the screen should work on...
Yarbrough asked 22/4, 2016 at 4:50
1
Solved
I'm trying to get the change in orientation between two deviceorientation events along the left-right axis, and top-bottom axis, those axis being usually defined as the phone x and y axis (https://...
Veldaveleda asked 15/4, 2016 at 5:51
2
Solved
I have been trying to capture frames from front camera and present it on the view. Here is my code
_session = [[AVCaptureSession alloc] init];
_session.sessionPreset = AVCaptureSessionPreset640x48...
Pridemore asked 5/6, 2014 at 13:59
3
Solved
I have a screen that supports Device Orientation.
Everything is working fine except for the fact that when I rotate the device upside down (home button at top), the rotation doesn't work (it's stu...
Tjon asked 21/11, 2013 at 14:2
1
Solved
I am making a 3D project with threejs which allows control of the camera with mouse for computer devices, and also allows control with touch events and deviceorientation event for smartphones.
As ...
Tidewater asked 9/2, 2016 at 3:18
1
How do we set Mobile phones to Portrait only and allow tablets to switch between portrait and landscape?
I am using Ionic/Cordova.
Currently I have configured to set the app to be in portrait mod...
Elastomer asked 14/1, 2016 at 7:33
4
Solved
I am developing an application which supports portrait and landscape modes. I am using auto layout to arrange my views. As i have been reading many posts and i have realized that developers commonl...
Willdon asked 3/12, 2013 at 8:52
4
Solved
I have a strange problem. My app keeps starting in landscape mode. If I open it in simulator it rotates to landscape mode automatically. When I start it on iPhone it firstly starts in landscape mod...
Howzell asked 9/2, 2012 at 12:56
4
Solved
I'm trying to use HTML5 deviceOrientation events in Javascript to rotate an image when the user rotate his iPhone around him.
I use this code to detect when the gyroscope is moving :
window.addEv...
Severson asked 31/1, 2012 at 9:45
2
I have a presented view-controller that is supporting all interface orientations. However, the presenting view controller only should support portrait mode.
So far so good.
However, in iOS8, when...
Bop asked 20/9, 2014 at 16:21
1
Solved
This is weird. I'm playing with device orientation but can't seem to get rotateX and rotateY to work in Safari (iOS 8.0.2).
But! if I save it to my home screen with apple-web-app-capable meta tag ...
Legislative asked 17/10, 2014 at 1:26
1
I have the activity orientation in manifest set as portrait. As i dont want my screen to rotate.
But On Clicking a button, I want to get the current device orientation (portrait or landscape...
Haerle asked 20/1, 2015 at 8:56
0
I am currently developing mobile web apps that make an extensive use of the deviceOrientation and deviceMotion HTML5 APIs. In most mobile browsers, the event fires every 50 millisecond which is too...
Bejarano asked 25/11, 2014 at 10:19
1
Solved
I am trying to achieve an effect similar to one of the cardboard app examples that Google has put out with their cardboard app called the 'exhibit'. I have a 3D object that I want to rotate using d...
Factfinding asked 28/9, 2014 at 4:42
1
I'm looking for a way to check if a device supports either the DeviceOrientationEvent or DeviceMotionEvent. To be more precisely I wan't to know if the device really has an accelerometer.
Unfortun...
Planography asked 15/5, 2014 at 16:22
2
Solved
I'm trying to smooth the data I'm getting from the deviceOrientation API to make a Google Cardboard application in the browser.
I'm piping the accelerometer data straight into the ThreeJs camera ...
Levin asked 9/9, 2014 at 12:42
4
Solved
I've been trying to get my head around the Android orientation sensors for a while.
I thought I understood it. Then I realised I didn't. Now I think (hope) I have a better feeling for it again but ...
Towboat asked 27/1, 2011 at 17:20
2
Solved
What's the Difference between Interface Orientation and Device Orientation?
Both of them seems the same but what's the actual difference between them?
Tweet asked 3/5, 2014 at 6:11
© 2022 - 2024 — McMap. All rights reserved.