5,599,337 Members 37,867 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] Spotify in Landscape mode

Tip us?
 
anonim1
Old
#11  
Senior Member
Thanks Meter 14
Posts: 150
Join Date: Mar 2011
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: [ Click to Expand ]
 
snurre
Old
#12  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jun 2009
Any luck with the problem for the latest version?
 
slimjimwoods
Old
#13  
slimjimwoods's Avatar
Senior Member
Thanks Meter 1
Posts: 168
Join Date: Jan 2010
Location: Rowley Regis
any chance anyone has a fixed file that isnt hosted on megaupload?
 
leolulz
Old
#14  
Member
Thanks Meter 15
Posts: 31
Join Date: Jan 2011
Quote:
Originally Posted by slimjimwoods View Post
any chance anyone has a fixed file that isnt hosted on megaupload?
Here's a Spotify APK i built to work in landscape, although it's only version 0.4.08. I can't find out why the latest version wont install and i got no time to learn xml atm :P

Download the apk here: I cant post outside links yet :S Check the attachment instead for the APK.
Attached Files
File Type: apk SpotifyAndroid_Signed.apk - [Click for QR Code] (2.59 MB, 137 views)
 
Dinaiz
Old
#15  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Jul 2009
Well, I quickly compared the 2 spotify versions (old one and new one). The new one's xml manifest is encrypted (see http://stackoverflow.com/questions/4...-from-apk-file)

Basically, there's no need for apktool at all. All you need, is
- rename the apk file to zip
- change AndroidManifest.xml according to the first post
- update the zip and rename it to apk !

But there's the fact that the .zip is encrypted. I didn't manage to make this apktool work for now.
 
chaval
Old
#16  
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: Jan 2010
Long since I was in this thread. I tried to make this edit to a newer ver a couple of moths ago but failed. Still using the old one.
Keep up the work!
 
gardndj
Old
#17  
gardndj's Avatar
Senior Member
Thanks Meter 4
Posts: 229
Join Date: Aug 2008
Location: Milwaukee
The manifest isn't encrypted, it's a just in binary format. Here's the manifest in txt form. If you can tell me what needs to be changed I should be able to edit and then recompile back to binary form.
Attached Files
File Type: txt AndroidManifest.txt - [Click for QR Code] (10.9 KB, 14 views)
 
gespo89
Old
(Last edited by gespo89; 31st March 2012 at 08:27 PM.)
#18  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Mar 2010
I don't know if people are still out there looking for this, but I modded the newsest of Spotify version so I figured I'd share it. It seems to work great out of the box, so I can't for the life of me imagine why they restrict it in the first place.

No outside links for me so it's attached.
 
zimmen
Old
#19  
zimmen's Avatar
Junior Member
Thanks Meter 9
Posts: 29
Join Date: Jan 2011
Nice nice

But i have a request if someone know how to change the play/pause and skip track buttons to smaller on landscape, so you see more of the cover from the artist.
 
dedfish
Old
#20  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Apr 2012
The preview version of Spotify released today has a much different manifest file. I suspect the next released version will not work with this fix. I've attached the latest manifest in text format.
Attached Files
File Type: txt AndroidManifest.txt - [Click for QR Code] (6.6 KB, 35 views)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes