Hi, I have a view which is always displayed in landscape. So I use the “ <file:///L:\FoodScan\trunk\Handy\Android_SDKs\android-sdk-windows-1.1_r1\doc s\reference\android\hardware\SensorListener.html#onSensorChanged%28int,%20fl oat%5B%5D%29> onSensorChanged (int sensor, float[] values)” method from SensorListener to find out how the phone is held. Does anybody know the ranges of values[0], values[1] and values[2] to find out the orientation (landscape or portrait)? <file:///L:\FoodScan\trunk\Handy\Android_SDKs\android-sdk-windows-1.1_r1\doc s\reference\android\hardware\SensorListener.html#onSensorChanged%28int,%20fl oat%5B%5D%29> <file:///L:\FoodScan\trunk\Handy\Android_SDKs\android-sdk-windows-1.1_r1\doc s\reference\android\hardware\SensorListener.html#onSensorChanged%28int,%20fl oat%5B%5D%29> Thanks and best regards <file:///L:\FoodScan\trunk\Handy\Android_SDKs\android-sdk-windows-1.1_r1\doc s\reference\android\hardware\SensorListener.html#onSensorChanged%28int,%20fl oat%5B%5D%29> Christian Wiesbauer
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

