1. Are you ready for the Galaxy S20? Here is everything we know so far!

Listening to notifications from phone or messaging app

Discussion in 'Android Development' started by khatauli, Feb 18, 2020.

  1. khatauli

    khatauli Lurker
    Thread Starter

    I am developing a custom launcher, and to display the badges on the app icons, I am using NotificationListenerService to know when a new notification arrives in the system for any app. It is working fine, but for the essential apps such as phone, messages, whatsapp etc, I am not able to capture any notification when somebody leaves a message or calls.

    I wonder if these essential apps send notifications via a different channel other than NotificationListenerService, or is there some some key property I need to set in the listener so that I can listen to the event in these cases?

    Any help will be appreciated.
    - Khatauli
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - Listening notifications phone
  1. Brona617
    Replies:
    4
    Views:
    368
  2. joshkrupinsky
    Replies:
    5
    Views:
    327
  3. nickdalzell
    Replies:
    9
    Views:
    480
  4. ShaNicole
    Replies:
    5
    Views:
    769
  5. Keramidas
    Replies:
    0
    Views:
    627
  6. July Hoang
    Replies:
    15
    Views:
    1,880
  7. Hakeem balogun
    Replies:
    0
    Views:
    1,169
  8. Samsung
    Replies:
    0
    Views:
    694
  9. YanPatel
    Replies:
    2
    Views:
    2,654
  10. Paulpi
    Replies:
    1
    Views:
    1,135

Share This Page

Loading...