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.
Hello, I have this problem where the Itoo process is not working, this is a food spoilage application. What I want to do is whenever the value fetch from the firebase will go beyond a certain thresholds It will alarm and notify the user. The problem is Even when I put the process in the button or the Screen.2 initialize it does not even work
Oh yes! I have fixed it A lil bit its working now, what I have done is I call the Itoo.Createprocess block in the first screen which is the main landing page. then everything just works
Use your procedures for background processing only on one screen
And remember, there is no user interface available in the background, so Notifier1.ShowAlert will not work in the background