简体   繁体   中英

How to get tag information from files on assets or raw folder

Im new with android and JAVA but im trying a simple app. Its a player that has its own mp3 files. So I put them all in the assets folder. I can play them without any problem. What I cant do is to read the meta-data, or tag information of the file such as Title, album, etc... Is it possible to get tag information from files on assets or raw folder?

Thanks!

They are just raw files in your .apk. You will need to use some code that parses the tag data out of an .mp3, and point it at that data in your .apk.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM