You need to change nosensor to sensor for the below attribute; android:screenOrientation="nosensor"
On Tue, Nov 30, 2010 at 2:28 PM, umakantpatil <[email protected]>wrote: > Hi, > > I have developed app but its not rotating at all when i rotate my HTC > Wildfire. My other apps roatate but not only app developed by me. > > Is there anything I need to manifest.xml for allowing this. My current > manifest.xml is as follows: > > > > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="org.dummy.android" > android:versionCode="1" > android:versionName="1.0"> > <application android:icon="@drawable/app_icon" > android:label="@string/app_name"> > <activity android:name="jp.dummu.AndroidSDK" > android:label="X Mobile" > android:screenOrientation="nosensor"> > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > <category > android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity> > <activity android:name=".Search" > android:label="Search" > android:theme="@android:style/Theme.NoTitleBar" > > > <intent-filter> > <action android:name="android.intent.action.VIEW"/> > <category > android:name="android.intent.action.SEND"/> > <category > android:name="android.intent.category.BROWSABLE"/> > <data android:scheme="myapp" android:host="oauth"/> > </intent-filter> > </activity> > <activity android:name=".Articles" > android:label="Articles" > android:theme="@android:style/Theme.NoTitleBar" > > > <intent-filter> > <action android:name="android.intent.action.VIEW"/> > <category > android:name="android.intent.action.SEND"/> > <category > android:name="android.intent.category.DEFAULT"/> > <category > android:name="android.intent.category.BROWSABLE"/> > <data android:scheme="myapp" android:host="oauth"/> > </intent-filter> > </activity> > <activity android:name=".xmobile" > android:label="@string/app_name" > android:theme="@android:style/Theme.NoTitleBar" > > > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > </intent-filter> > </activity> > </application> > <uses-sdk android:minSdkVersion="3" /> > </manifest> > > > > -- > 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 -- 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

