Understood. It because I'm using these notifications inside of background procedure with Itoo extension. If I define an icon inside this procedure, it works.
Hi everyone,
I repeat my post already posted in the original thread now closed.
With AppInventor I created a streaming player application for my Radio (and TV).
I'm updating the application with new features and I wanted to replace the current notification code with this extension, which works fine, but doesn't communicate properly metadata (image, artist/title, lyrics...) to connected bluetooth devices (headphones, cars, etc. ..); and it doesn't even communicate commands from buttons.
The reason for the metadata is that live streaming doesn't have a fixed duration like a music file, and therefore you need to set this because android needs to know about it. Without this information, the notification system does not communicate metadata correctly with the device.
If you could fix this by inserting a block that allows you to specify the duration of the streamed content, (typically indeterminate live stream has duration -1 ) and thus fix the bug, I'd like to use that for my update.
Thank you.
p.s. Thanks to Patryk_F for the hint below; that is the extension that I am currently using, but that lacks some possibilities, some of which I have personally corrected by writing and rewriting part of the code (such as the update for Android 12+), others it is very complex because, given the structure, you would have to rewrite all the code.
Of course, I thought they were useful suggestions for the whole community, to improve the extensions for everyone's benefit.
Whoever developed the extension knows the procedure better, and certainly takes less time than us who are "amateurs" of the code, to implement its functions.
Thank you for your answer.
You are right, and it is precisely the notifications that I am talking about.
Among the options there is also the possibility to use it with various types of notifications such as music and audio, and if you use it for notifications involving a player playing streaming audio (not just audio files), it doesn't work well with devices connected in bluetooth for reasons that I have said.
I thought it was interesting for everyone to report it for any improvements, and I don't want to get it just for me.
I apologize if I have been misunderstood and if interested I could explain better.
Hey, Im talking about Android 11 to not make any confusion. I have created an Chat App with Firebase, but I have no idea how to make a notification when a message is received. Here's the .aia file : App_Conversa.aia (182.6 KB)
This is a great extension, however I've found a pretty significant bug in it. If the screen is locked with a notification in the status bar, or if it gets a notification while the screen is locked, it is EXTREMELY difficult to unlock the screen. It takes at least 3 times of hitting the power button before the screen either stays on long enough to unlock it or it actually does anything when you swipe on the screen. Tested on 3 different phones (Android 11, 12 and 13) so it's not just a fluke.