开发者

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

开发者 https://www.devze.com 2023-02-18 05:06 出处:网络
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 pla开发者_如何学JAVAy them without any problem. What I c

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 pla开发者_如何学JAVAy 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号