03-01-2011 11:06 PM
I'm porting an app I worte on iPhone to BB and I need to display a list of all of the MP3s in the user's phone to a "picker" screen like that in the built in media app on the Torch. On iPhone this is very simple to do and then extracting the ID3 tags (artist, song, etc.) is similarly simple.
Of course, little is simple on the BB and I am having little luck finding any analogs to the above.
Closest I come is the FilePicker which is very 1999 for picking tunes. And reading ID3 tags seems to be a nasty process of loading the Player with every file in the library and then running the MetaDataControl interface against this.
My other option seems to be to write my own MP3 file parser, which really isn't in the schedule/budget for the app.
Am I missing some uber helpful class that makes this all happen magically?
03-04-2011 02:58 AM
Just type ID3 into the search bar and you'll get a list.
Here is a post where I pasted code to get the album artwork from an MP3: