Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Metadatareveiver fails only on device  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to retrieve the metadata of a certain mp3 file from a website.
On the simulator this works perfectly with the following code:

Now when I run the app on my actual device ( LG G2 ), the app gives an error and stops running ( if i use a try catch around it it obviously just gives a warning ).
This is the error:

I've looked around the net for ages, but I haven't seen anything covering an error with status = 0xFFFFFFED, only status = 0x8000000 and the likes of that.
I've given my app permission to use the internet in my AndroidManifest.xml, but the main question is why does it work on the emulator and not on the actual device ?

Any help would be applauded and celebrated.

Thank you in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!