[android-developers] Re: How to force Activity in landscape mode without Activity restart

2009-08-21 Thread yoshitaka tokusho
Hi String, Are you able to use android:screenOrientation=landscape It works perfectly fine!! Thanks for your comment! I really appreciated!! Y.T. On Aug 21, 3:11 am, String sterling.ud...@googlemail.com wrote: On Aug 21, 5:36 am, yoshitaka tokusho ytoku...@gmail.com wrote: I have

[android-developers] How to force Activity in landscape mode without Activity restart

2009-08-20 Thread yoshitaka tokusho
Hi folks, I have a problem to start/create Activity in landscape mode. My Activity need to start in landscape mode and be used in landscape mode by users. So far, I used setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) to force screen orientation of my Activity to landscape

[android-developers] Re: Experimental Bluetooth Library

2009-08-17 Thread yoshitaka tokusho
This is a great work. Thank you, Stefano. Just one question. I'm wondering if this API is not thread-safe. Is this assumption correct? Y.T. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: What SensorManager.getOrientation returns?

2009-07-12 Thread yoshitaka tokusho
To make getRotationMatrix work, just pass the accelerometer and magnetic field sensor's observed values array to gravity and geomagnetic parameters and memory-allocated 4x4 float array to R and I parameters. I tried to pass 3x3 arrays as api doc say, but it didn't work. Y.T. On Jul 7, 6:28 am,

[android-developers] Re: What SensorManager.getOrientation returns?

2009-06-21 Thread yoshitaka tokusho
[]). values  an array of 3 floats to hold the result. Returns The array values passed as argument. Regards, serge On Jun 15, 5:29 pm, yoshitaka tokusho ytoku...@gmail.com wrote: Is there no body here, or is my question too silly? On Jun 15, 6:53 am, yoshitaka tokusho ytoku...@gmail.com wrote

[android-developers] What SensorManager.getOrientation returns?

2009-06-15 Thread yoshitaka tokusho
Hi all, Simply what I have to suppose SensorManager.getOrientation()'s return values are? I expected getOrientation returns yaw/pitch/roll values in degrees like SensorEvent dose when callback returned. But all I can get is some strenge floating number something about between -3.0 and +3.0.

[android-developers] Re: What SensorManager.getOrientation returns?

2009-06-15 Thread yoshitaka tokusho
Is there no body here, or is my question too silly? On Jun 15, 6:53 am, yoshitaka tokusho ytoku...@gmail.com wrote: Hi all, Simply what I have to suppose SensorManager.getOrientation()'s return values are? I expected getOrientation returns yaw/pitch/roll values in degrees like SensorEvent

[android-developers] Re: How to force hierarchy change to PreferenceActivity?

2009-06-13 Thread yoshitaka tokusho
framework will refresh the UI when a preference has a UI-visible attribute changed, for example the summary.  So, you can just do myPreference.setSummary(myPreference.getValue()) (assuming you want to show the selected item as the summary of the preference). On Fri, Jun 12, 2009 at 4:29 AM, yoshitaka

[android-developers] How to force hierarchy change to PreferenceActivity?

2009-06-12 Thread yoshitaka tokusho
I have a PreferenceActivity building screen hierarchy from code, and I need to force display hierarchy change dynamically when one of SharedPreference value changed. I know this might be a kind of easy quesiton, but I couldn't find answer anywhere in documentations or discussion. My