How can I detect device orientation in a background service that is configured to start at boot (i.e. none of my activities have run)?
I also need to get events when the orientation changes, so that I can start using new orientation.
Update: I tried using PhoneOrientation, but since my device does not have orientation sensor, I never received OrientationChanged event.
I also need to get events when the orientation changes, so that I can start using new orientation.
Update: I tried using PhoneOrientation, but since my device does not have orientation sensor, I never received OrientationChanged event.
Last edited: