FORUMS

Analysis & Opinion

Top Forum Discussions

[FIX] Spotify in Landscape mode

125 posts
Thanks Meter: 17
 
By chaval, Senior Member on 14th January 2011, 02:01 PM
Post Reply Subscribe to Thread Email Thread
Here is a fix to allow Spotify to change to Portrait/Landscape based on the phones orientation
(Cant beleive Spotify doesnt have this feature)

1
Donwload the latest Spotify APK
http://www.spotify.com/wp-content/up...ifyAndroid.apk

(This fix applies for the ver .08 as the changed values are different dep. on version.)

2
Download APKEdit (Thx "whiskeybro", hope this is ok with you)
http://forum.xda-developers.com/show...php?p=10157000

3
Open SpotifyAndroid.APK in the editor, go to the "Content" tab and at the bottom there are folders and files, Rightclick on "AndroidManifest" and choose "Edit"

4
Change the following value: "nosensor" to "sensor". All of them
Delete the string "a:configChanges="keyboardHidden|orientation"" . There is only one.

5
Save the file and close notepad, Click "Apply" in APKEdit.
(APKEdit may hang here, let it work and it should have created a new APK, saving the old as .backup)

6
Install the new APK

Ive noticed a bug during the initial login and changing orientation.
Do it in Portrait mode and let it load your data before changing orientation.
Otherwise it works fine in landscape (lists, play, search, artist info etz)

Latest version with FIX (version 0.4.9.181)
http://www.megaupload.com/?d=XNXXV9EY
Tested only on Nexus S, hope this works on other phones, it should
Last edited by chaval; 19th April 2011 at 09:06 PM.
The Following 6 Users Say Thank You to chaval For This Useful Post: [ View ]
 
 
7th February 2011, 08:50 PM |#2  
Junior Member
Thanks Meter: 0
 
More
Works like a charm on my Motorola Defy. Thanks!
23rd February 2011, 03:52 PM |#3  
Junior Member
Flag Oslo
Thanks Meter: 0
 
More
Works fine on my Galaxy Tab with stock ROM. Thanks chaval!!!!
19th April 2011, 01:28 AM |#4  
Junior Member
Thanks Meter: 1
 
More
Works fantastic. Is there anyway to do this with the stock dialler installed within my android phone on the HTC Desire HD? I use this within my car in landscape view and want my phone setup so when the dialler shows an incoming call it isn't display in portrait as standard.
19th April 2011, 01:50 AM |#5  
Junior Member
Thanks Meter: 1
 
More
Tell a lie.... this Spotify fix doesn't seem to work correctly.

I have followed the instructions to a T as far as I can see. I have noticed that when I first login to Spotify I can rotate the screen to landscape and portrait fine. So I've kept it in portrait as instructed, let my Spotify login and when I've rotated the phone it doesn't flip to landscape. Anyone got any ideas to why this isn't working? Needed for the car dock.

Thanks.
19th April 2011, 08:05 PM |#6  
OP Senior Member
Thanks Meter: 17
 
More
Quote:
Originally Posted by misterdesign

Tell a lie.... this Spotify fix doesn't seem to work correctly.

I have followed the instructions to a T as far as I can see. I have noticed that when I first login to Spotify I can rotate the screen to landscape and portrait fine. So I've kept it in portrait as instructed, let my Spotify login and when I've rotated the phone it doesn't flip to landscape. Anyone got any ideas to why this isn't working? Needed for the car dock.

Thanks.

Strange, I did it today with the latest Spotify ver and it worked fine.
All I did was to change all the nosensor to sensor and remove the config parameter.

Uninstall it and try my edited APK.
http://www.megaupload.com/?d=XNXXV9EY
Last edited by chaval; 19th April 2011 at 09:08 PM.
22nd April 2011, 12:38 AM |#7  
Junior Member
Thanks Meter: 1
 
More
chaval,

It worked! If I could use the thank meter I would, very happy now. I must have missed something, thanks a bunch!
The Following User Says Thank You to misterdesign For This Useful Post: [ View ]
16th July 2011, 12:24 PM |#8  
campbell.0's Avatar
Member
Flag Bristol
Thanks Meter: 1
 
More
Talking
Big thanks.

This was irritating me since I installed original app.

Needed to uninstall original apk first. Why Spotify couldn't implement this originally, I don't know. Lazyness?

Once again, XDA to the rescue.

Thanks you.
14th October 2011, 02:44 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Exclamation
Quote:
Originally Posted by chaval

Latest version with FIX (version 0.4.9.181)
Url
Tested only on Nexus S, hope this works on other phones, it should

The fixed version is giving me a bad login message :/ The usernane + password works fine on my pc, but not in this version Samsung S Galaxy 2
29th October 2011, 07:29 PM |#10  
Junior Member
Thanks Meter: 1
 
More
Big thanks for the fix! I cant seem to get it to work on the latest update. Every time I go to apply my changes an error pops up using apk edit. Any help would be appreciated
23rd November 2011, 04:52 PM |#11  
Senior Member
Thanks Meter: 15
 
More
Same here. I think it may be an issue with the APK Edit tool. I can recreate the issue by opening the AndroidManifest.xml file, saving it without making any changes, then clicking Apply. i'm going to post about it in the APK Edit thread. The error is below:

Code:
I: Checking whether resources has changed...
I: Building resources...
C:\Users\user1\AppData\Local\Temp\SpotifyAndroid 0.4.12.180\res\layout\sync_notification.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@android:style/TextAppearance.StatusBar.EventContent.Title').
C:\Users\user1\AppData\Local\Temp\SpotifyAndroid 0.4.12.180\res\layout\sync_notification.xml:9: error: Error: No resource found that matches the given name (at 'style' with value '@android:style/TextAppearance.StatusBar.EventContent').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\user1\AppData\Local\Temp\APKTOOL3010785002957324851.tmp, -I, C:\Users\user1\apktool\framework\1.apk, -S, C:\Users\user1\AppData\Local\Temp\SpotifyAndroid 0.4.12.180\res, -M, C:\Users\user1\AppData\Local\Temp\SpotifyAndroid 0.4.12.180\AndroidManifest.xml]
The Following User Says Thank You to anonim1 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes