Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read device orientation data from the app #17

Open
bennuttall opened this issue Mar 31, 2017 · 4 comments
Open

Read device orientation data from the app #17

bennuttall opened this issue Mar 31, 2017 · 4 comments

Comments

@bennuttall
Copy link

Quite a big request, but it would be awesome if you could read the device's orientation as well as the dot position.

@martinohanlon
Copy link
Owner

Its a potential for the future.

This feels like a separate operation (3) returning orientation data.

https://developer.android.com/reference/android/hardware/SensorManager.html describes how to use the sensors to get orientation.

@dglaude
Copy link

dglaude commented Jun 2, 2017

Rather than to report the device orientation, the app could adapt it self to the orientation.
If I put my phone sidewise (landscape) and I press up, it should be the same output as when in portrai and I press UP.

@martinohanlon
Copy link
Owner

@dglaude this issue refers to the physical orientation of the phone (i.e. as reported by the gyroscope) not the orientation of the screen.

@dglaude
Copy link

dglaude commented Jun 2, 2017

Then should I raise another issue?
The usecase is real, you may want to hold your phone one way or another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants