• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java API to Read MP3 Tags

 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm working on an Android app (for my own learning), that can search music from the filesystem based on the tags in the files. Could anyone please recommend a good API for this purpose. I'm not looking for anything fancy, just searching for files based on tag values.

Thanks in advance.

Debojit
 
Tim Moores
Bartender
Posts: 2895
46
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The http://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq links to a discussion where several libraries that can read MP3 tags are mentioned.
 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the quick reply, Tim, but I was looking for some API that's compatible with Java 6. Java Media Framework is dead(as I understood it), JavaMusicTag was last built for jdk 1.3(again, this is my understanding), and the others that I found on the net were also for older JDK releases. Could somebody please advise me if there are any such libraries available on the net, or point me to resources so I could build my own(strictly last resort )?

Please feel free to correct me if I'm wrong.

Thank you,
Debojit
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a library works with an older version of Java, changes are that it will work with Java 6 and 7 as well. You just won't have generics. You should at least try it before dismissing these libraries.
 
Tim Moores
Bartender
Posts: 2895
46
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to what Rob said - JMF isn't even mentioned there, but 5 other libraries are.
 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for helping me out. I didn't mean to come across as dismissing your suggestion, my chief concern was about backwards compatibility, especially w.r.t android. Anyway, I'll try with them and see what happens.

Thanks again for your help.

Debojit
 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:In addition to what Rob said - JMF isn't even mentioned there, but 5 other libraries are.


Could you perhaps recommend me which one of those I should use? Just wanted to know an expert opinion before getting my feet wet.

Thank you
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no experice with any of those libraries; I just noticed them being mentioned there.
 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, I see. No helping it then... "To infinity ... and beyond!", as Buzz would say.

Thanks everyone for your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic