Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,281 Members 50,919 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] Spotify in Landscape mode

Tip us?
 
chaval
Old
(Last edited by chaval; 19th April 2011 at 09:06 PM.)
#1  
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: Jan 2010
Thumbs up [FIX] Spotify in Landscape mode

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
The Following 6 Users Say Thank You to chaval For This Useful Post: [ Click to Expand ]
 
dekooi
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Nov 2009
Works like a charm on my Motorola Defy. Thanks!
 
hawi87
Old
#3  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Jul 2010
Location: Oslo
Works fine on my Galaxy Tab with stock ROM. Thanks chaval!!!!
 
misterdesign
Old
#4  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Apr 2011
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.
 
misterdesign
Old
#5  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Apr 2011
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.
 
chaval
Old
(Last edited by chaval; 19th April 2011 at 09:08 PM.)
#6  
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: Jan 2010
Quote:
Originally Posted by misterdesign View Post
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
 
misterdesign
Old
#7  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Apr 2011
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: [ Click to Expand ]
 
campbell.0
Old
#8  
campbell.0's Avatar
Member
Thanks Meter 1
Posts: 63
Join Date: Dec 2009
Location: Bristol
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.
 
Mr_FJ
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Oct 2011
Quote:
Originally Posted by chaval View Post
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
 
brownat
Old
#10  
Junior Member
Thanks Meter 1
Posts: 21
Join Date: Oct 2010
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes