android - Check if my app can show notification -


in android 5, aka lollipop, how can check if app can show notification? (by using sdk)

i want warn user if system blocked notifications.

you can create notification , query notificationlistenerservice whether notification displayed. returned statusbarnotification should contain enough metadata identify notification.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -