For others who may be interested, I ended up implementing a 3rd party 
library MyID3 <http://www.fightingquaker.com/myid3/>
Works well enough.  A shame the real Android tools doesn't read the exact 
same data/same file like this library can.

On Thursday, March 21, 2013 3:47:19 PM UTC-5, Marty Rehder wrote:
>
> I'm trying to get mp3 tags from some music files
>
>    MediaMetadataRetriever mmr = new MediaMetadataRetriever();
>
>    File filenm = new File(path, availableFiles[0]);
>    mmr.setDataSource(showFileActivity.this,Uri.fromFile(filenm));
>    String column = 
> mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_xyz):
>
> I can get DURATION and BITRATE tags, so I know I'm setting the data source 
> on the correct file, but everything else comes back null.
> The other tags, such as TITLE, are present, as I can pull the file from 
> the device and verify they are there.
>
> Is there a better way to get mp3 tags? Am I doing it wrong?
>
>
>
>
>  
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to