Great Job. . can you please tell when this this extension to be released?
Happy new year 4 all
Asking a profficnal deloveper will give you the right answer thanks Atom-Deloveper for giving me the solution here is the source code working for Kodular (also many thanks to Taifun for his kind shared code which made that possible)
NotificationListener.java (9.4 KB)
And the modification includes also parsing the stacked notification
dont forget to use the name space as per extension as Taifun made it clear
and also notice that parsing stacked notification only works on android 7 +
com.atomdeveloper.NotificationListener.aix (11.3 KB)
here is the aix Enjoy
Atom-Deloveper Thanks again
thank you @Atom_Developer
my understanding was, the services annotation still is not available in Kodular?
which means, someone who likes to use the modified extension in Kodular needs to additionally modify the manifest for this to work?
Taifun
The annotation which was added in appinventor sources would not work in kodular because they compile and generate the extension in a different form but I do not use that version to compile the extension, I use a modified version of extension template which eventually adds the required manifest elements to the activities array in the json inside extension,and the appinventor compiler does not do anything with activities string inside json so at last the activities array text is directly added to the app, so it means that if you give any text inside the array, it would be added to the manifest , same goes for broadcastReciever array in the json
So the @UsesServices annotation works differently in my extension template
According to the answer above, no.
I have tested with app but it is showing null value for title:"". Don’t know why. Other apps showing title also. Is it possible to solve. @Atom_Developer
Notification Screenshot
Result
maybe its not a title ( its a
Notification.EXTRA_BIG_TEXT
yes. there should be more notification parameters then we can able to fetch complete notifications.
To add new methods in the extension I think the right way is to contact the developer and be a sponsor for such method
I Think there is very minor update required to solve this issue. After that Extension will rock…
Because it has unlimited use cases…
https://puravidaapps.com/notificationlistener.php
Downloaded .aia file and instaled on my Samsung Galaxy S9+ Android 10.
But app crashed!
So, i remake the new app, block by block, and install.
But app crashed!
Any idea?
@Taifun
my notification listener extension currently only works in MIT App Inventor…
you have to use the adjusted extension version by @Atom_Developer from here (post 50)
Taifun
How to copy image inside the notification?
Anything idea?
this is not implemented
feel free to use the sources of the extension and adjust it to your needs
Taifun
Having an issue with retrieving tinydb values (returns empty).
Please excuse my inexperience in advance.
Figured it out after re-reading @khalsaket post.
Needed to use tinydb namespace NotificationListener instead of TaifunNotificationListener