Some issues with that project, i Duplicated it and doesn't do any changes but the same works fine and issues SOLVED. Thanks for your assistance @Taifun@Kumaraswamy
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
your idea was to find a solution if multiple notifications are received at the same time
it would be great, if you could share your solution here
Taifun
Thank you for your excellent browser extension. I have built my own application based on this extension, but I encountered a warning from the Play Store:
"Using the exact alarm feature causes issues with your app for some Android users.
Your app schedules precise alarms without checking if the SCHEDULE_EXACT_ALARM permission has been granted. This causes problems for Android 14 users as this permission is no longer granted by default.
In most cases, using alternative scheduling methods for tasks or less precise alarms would be more appropriate. If you truly need to use the exact alarm feature, please update your app to check if the permission has been granted before scheduling.
Android14 users need to manually grant SCHEDULE_EXACT_ALARM permission in settings. So the application should check whether it is Android 14 and, if it does not have permissions, direct the user to the settings tab, where he will be able to enable this function.
Hi, @Taifun . 'Notification Listener Extension' works well with the 'Itoo' extension and it store count value and notification value in firebase successfully. But when i restart the phone, Itoo extension is auto running and the count value is successfully stored in firebase. But the notification extension is not working automatically. If i open the app again, its working properly. Can you provide me any solution? Thanks.
Test project file: notiSim.aia (645.2 KB)
Project blocks:
Buenas tardes, hice un proyecto con esta extensión y me funciono perfecto, capturaba las notificaciones entrantes de mi teléfono sin problemas, pero después de unos días, dejó de escuchar las notificaciones que entran a mi teléfono.
Descargue el proyecto de ejemplo de ustedes y tampoco captura las notificaciones entrantes.
Ejecuto el StarService sin problema alguno, luego ejecuto el bloque check service y siempre me devuelve FALSE.
pueden ayudarme con esto por favor?
Muchísimas gracias, gracias a tu información se me ocurrió revisar mi teléf. y pude ver que tenia muy poco espacio, por esta razón supongo que entro en modo de ahorro de recursos, libere espacio y volvió a funcionar.
only functionality is available, which is described in the documentation, everything else is not available.
To stop the service, just call method StartService for the user. The user then must disable notification access in the settings manually... see how it is done in the example app..
As the notification listener extension is open source, you are invited to investigate, if stopping the service programmatically is doable. If yes, you are invited to implement that functionality into the extension.
more information about how to create an extension see the App Inventor Extensions document however that will be more advanced and will require some Java skills...
I will try to update the extension codes in future so I can make & utilize more features. But, for now, somehow, I will find some shortcut ways and achieve this.
UPDATE: I am trying using the clock. I put the 'startService' block of notification listener within when.clock.timer. Now, I can enable or disable this block based on the value of the global.variable. But, I have not tested this yet.
Great sharing! The example app which can read out notification should be helpful to those people with impairing vision.
I have a query regarding the features of the extension. Is it possible to get the "pending intent" underlying a notification.? Normally if we click on an Android notification, it usually brings us to a page / app with that directly link to the notification. I hope I could get the above via the extension.
Hi, I made your example and it works fine, but I would like to know how to make it so that a persistent notification is displayed that lets the user know that, indeed, the application is running in the background. Thanks
The example displayed here does not use a foreground process. It simply calls the procedure in background when the Android system notifies the Notification Listener Service. So you do not need to show a persistent notification.
If you still want to, you can use Melon Notification v1.2. While building a new notification check the Ongoing property to make the notification permanent.