dreamapps786 / scrobbledroid

Automatically exported from code.google.com/p/scrobbledroid
MIT License
0 stars 0 forks source link

ScrobbleDroid does not work in KitKat (4.4.2) #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ScrobbleDroid doesn't work for me on my Nexus 5 running stock KitKat 4.4.2

I'm wondering if this might be as simple as declaring uses permission for 
'android.permission.READ_EXTERNAL_STORAGE' in the manifest as LogCat shows the 
following:

02-05 15:36:20.285: E/DatabaseUtils(18387): java.lang.SecurityException: 
Permission Denial: reading com.android.providers.media.MediaProvider uri 
content://media/external/audio/media/895 from pid=28006, uid=10096 requires 
android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:
467)
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.
java:394)
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
android.content.ContentProvider$Transport.query(ContentProvider.java:194)
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
android.os.Binder.execTransact(Binder.java:404)
02-05 15:36:20.285: E/DatabaseUtils(18387):     at 
dalvik.system.NativeStart.run(Native Method)
02-05 15:36:20.295: D/AndroidRuntime(28006): Shutting down VM
02-05 15:36:20.295: W/dalvikvm(28006): threadid=1: thread exiting with uncaught 
exception (group=0x4161bba8)
02-05 15:36:20.295: E/AndroidRuntime(28006): FATAL EXCEPTION: main
02-05 15:36:20.295: E/AndroidRuntime(28006): Process: 
net.jjc1138.android.scrobbler, PID: 28006
02-05 15:36:20.295: E/AndroidRuntime(28006): java.lang.RuntimeException: Unable 
to start service net.jjc1138.android.scrobbler.ScrobblerService@4279ad48 with 
Intent { cmp=net.jjc1138.android.scrobbler/.ScrobblerService (has extras) }: 
java.lang.SecurityException: Permission Denial: reading 
com.android.providers.media.MediaProvider uri 
content://media/external/audio/media/895 from pid=28006, uid=10096 requires 
android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

Cheers,

Edd

Original issue reported on code.google.com by e...@eddgrant.com on 5 Feb 2014 at 3:46

GoogleCodeExporter commented 9 years ago
Same error here, but only happens when listening (online or offline) music with 
the Deezer application. Also, scrobbling with Scrobble Droid is not needed in 
this case because it is already done with the Deezer app when the last.fm 
account is registered in the Deezer account.

Original comment by julien.a...@gmail.com on 28 Feb 2014 at 9:37