In
android/packages/apps/Settings/src/com/android/settings/SoundAndDisplaySettings.java:

The source code : http://pastebin.com/a7Uqwg8q

I try to activate the Orientation by unmarking ACCELEROMETER related
variable. After rebuilding, however, it shows "com.android.settings
terminated" when I click the Orientation which is in Setting -> Sound and
Display -> Display setting -> Orientation

Now I am trying to find out "android:screenOrientation" property.



2010/3/10 Michael Wu <[email protected]>

> Thanks, Dianne.
>
> How should I activate the android:screenOrientation attribute?
>
>
> 2010/3/10 Dianne Hackborn <[email protected]>
>
> You mean programmatically modifying the user's setting?  Generally you
>> shouldn't.  If you want to change how your applications handles orientation,
>> you can use the android:screenOrientation attribute on your activities.
>>
>> On Tue, Mar 9, 2010 at 6:16 PM, Michael Wu <[email protected]>wrote:
>>
>>> Hi.
>>>
>>> Generally, there should be an option named Orientation which is in
>>> Setting -> Sound and Display -> Display setting -> Orientation
>>>
>>> However, I can't not see the option "Orientation" in the Android. How
>>> could I activate this option?
>>>
>>>
>>>
>>> Cheers,
>>> Michael
>>>
>>> --
>>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Michael Wu
> Quanta Computer
> Moblie Internet Device 2 BU
> Kueishan, Taoyuan, Taiwan
> [email protected]
>



-- 
Michael Wu
Quanta Computer
Moblie Internet Device 2 BU
Kueishan, Taoyuan, Taiwan
[email protected]

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