iammert / RadioPlayerService

Android service library which uses AAC Player. Ready to use Radio Player Service.
254 stars 90 forks source link

How to personnalize the UI #39

Closed gigi199596 closed 7 years ago

gigi199596 commented 7 years ago

Hello,

thanks for this great work. I'm able to broadcat my webradio inside the app but I was wondering if it's possible to show a logo instead of the default music note. And the same for the small logo inside the icons on the top screen.

If it is not possible, can you give me some hints to do it myself in the source code? Thanks a lot!

gigi199596 commented 7 years ago

Ok, after some time of exploration, I found the solution: You need to use:

mRadioManager.updateNotification("text first row on the stream player", 
                                                         "text second row on the stream player",
                                                          R.drawable.default_art);  //your picture 

but only after the stream was loaded, if not, the code is ignored.