World Tech

How to check device natural (default) orientation on Android (i.e. get landscape for e.g., Motorola Charm or Flipout) –

Question or issue in pp Development: I have an activity showing preview from camera, so it need to be set as landscape only. At the bottom (regardless of device rotation) I want to show a text view. I am using OrientationEventListener which gives device’s orientation from its natural position. I can implement a solution which […]