Hi everybody,
after a long time here I am again. I wanted to read notifications from my surveliance cameras. So I have downloaded the new Notification Listener Library and relative example.
If I press Create Notification the 5 notifcation are created, but now way to read them back. The android phone is v. 14. Any suggestion?
Thank you all!
Of course I did. I wrote a similar app many years ago. But what have I to check, since from Android 14 the matter is turning difficult?. Thank you Erel!
Hi, I have noticed that if I press button "Clear All" or Get Active" i get in unfiltered log "Notification listener service not yet bound.".
This is log.
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
Notification internal service created
Notification listener service not yet bound.
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
@set_metadata: update dataspace from GM (0x00000000 -> 0x08010000)
I have updated the source(I was using one old one) . I attach the app I use.
This is my source I'm using(nothing changed). The 5 notifications pop up. But nothing changes. Attached is the unfiltered log.
Really Strange. The phone I use to test is a Redmi Note 12 Pro 5G Android 14. I have rebooted it many times, just to be sure. The permissions are given.
If the notifications get created but you can't read them, maybe the app doesn’t have the right permissions? On Android 14, you have to make sure the notification listener permission is granted in settings. Also, sometimes the app needs to be restarted after granting permissions.
Hi Erel, found the issue. My version of Android considers a danger to allow notifications read. So you have to unblock the limited autorizations. In Italian "consenti impostazioni limitate".
Thank you very much for support. Permissions management is driving me mad..
Happy week!
Mauro