Jump to content

Home Screen / Apps Draw Screen Rotation


Guest That-Guy

Recommended Posts

Guest That-Guy

Anyone know if its possible to edit/tweak one of the Android OS files to enable Screen Rotation on the Home Screen and Apps Draw on the Huawei U8800?

Its a simple feature that some Android Devices seem to have :)

Link to comment
Share on other sites

Guest That-Guy

Got a little bit closer with this after posting on another site.

Was told I need to de-compile the launcher2.apk and search for android:screenOrientation="nosensor" and change to android:screenOrientation="sensor".

They said it is in the file AndroidManifest.xml but cannot find it :)

Anyone know if im missing something?

Link to comment
Share on other sites

Guest Poulsen8r
Got a little bit closer with this after posting on another site.

Was told I need to de-compile the launcher2.apk and search for android:screenOrientation="nosensor" and change to android:screenOrientation="sensor".

They said it is in the file AndroidManifest.xml but cannot find it :)

Anyone know if im missing something?

Don't use 7zip/Winrar to decode apks. Make sure you use apktool or somefiles may not be extracted from the apk. I decoded with apktool and it's right there in the root directory with that string you are looking for:

android:name="com.android.launcher2.Launcher" android:clearTaskOnLaunch="true" android:stateNotNeeded="true" android:launchMode="singleTask" android:screenOrientation="nosensor" android:windowSoftInputMode="adjustPan"

This is the launcher i'm using (Stock Launcher2 from AOSP):

http://www.mediafire.com/?4w9a9la1duv0a4d

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.