The built-in home screen doesn't allow itself to be changed based on the
sensor, by design.  To change this you will need to replace it with your own
home screen.

On Wed, Nov 25, 2009 at 5:23 AM, GodzillaHaur <[email protected]>wrote:

> Dear all:
>
> I got a question about screen orientation in Android Home screen.
> The scenario is as following.
> A G-sensor detects the movement on the device.
> Then it rotates the screen. If the device is portrait mode, the system
> sets to landscape mode.
> With G-sensor, theres is a SensorService to detect that and do some
> things to reach the function.
>
> I want to know how to reach that? Is there a API or a event to do
> that?
> I means that hall system, not a activity!!!
>
> Any information are highly appreciated.
> Many thanks.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to