S Sergio83 Active Member Licensed User Longtime User Apr 24, 2024 #1 Hello everybody, I upgraded one of my apps (a mp3 player) from MediaPlayer to ExoPlayer. My purpose was to display the album thumb id tag. And it works fine. But a lot of my old mp3 tracks are not provided with this kind of id tag. So my question is: how to display a default artwork if the album thumb id tag is not present? I searched internet and the forum, but no answer. Thanks to you by advance if you can help me!
Hello everybody, I upgraded one of my apps (a mp3 player) from MediaPlayer to ExoPlayer. My purpose was to display the album thumb id tag. And it works fine. But a lot of my old mp3 tracks are not provided with this kind of id tag. So my question is: how to display a default artwork if the album thumb id tag is not present? I searched internet and the forum, but no answer. Thanks to you by advance if you can help me!
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2024 #2 Try this: Code: Dim bd As BitmapDrawable bd.Initialize(...) Player.As(JavaObject).RunMethod("setDefaultArtwork", Array(bd)) Upvote 0
Try this: Code: Dim bd As BitmapDrawable bd.Initialize(...) Player.As(JavaObject).RunMethod("setDefaultArtwork", Array(bd))
S Sergio83 Active Member Licensed User Longtime User Apr 25, 2024 #3 Thanks a lot Erel it works perfect! Just for my information, is there any question you could not be able to answer ! Upvote 0
Thanks a lot Erel it works perfect! Just for my information, is there any question you could not be able to answer !
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2024 #4 Sergio83 said: is there any question you could not be able to answer ! Click to expand... I can't answer this one Upvote 0
Sergio83 said: is there any question you could not be able to answer ! Click to expand... I can't answer this one