Android Question Read MP3 (Music) info + Image (Thumb)

Douglas Farias

Expert
Licensed User
Longtime User
Hi everyone, I would like to know how I can get the data of a song (title, artist etc .. + image (thumb)) using the latest code options today, something that works on both B4A, B4i and B4J (B4X).

I found some old classes in the forum but are slow, limited or not fully functional, unfortunately I found nothing current and that worked in B4X completely.

i found this example from @Erel in 2011
https://www.b4x.com/android/forum/threads/how-to-read-mp3-id3-tag.11278/#post-63099
but he raised me doubts.

1 - Because it is an old post, I would like to know if today is safe to use this code above, if the above code will not crash in newer versions of android (example android 9)?

2 - Is it possible to get the image (thumb) of a song using this code or similar, if yes how?

To get the image of a music file do you use code similar to the code above or is it something totally different?

Thanks!
 

DonManfred

Expert
Licensed User
Longtime User
Note that a library which runs on all platforms needs to be written in B4X.

B4A and B4J are using JAVA, B4i is using another language.
So any Android library out there which is written in java can not be used in b4i.
 
Upvote 0
Top