android


How to know if Show Notification is disabled for my app? [duplicate]


This question already has an answer here:
Android 4.1: How to check notifications are disabled for the application?
5 answers
Is there any way to track whether the user has "Show notifications" disabled/unchecked in the Settings/App Info page of my app?
Simple: You cant.
In Google I/O 2012 answered: https://www.youtube.com/watch?v=Yc8YrVc47TI&feature=player_detailpage#t=1682s
update:
you can check if the user can see the notification in the status bar i.e. able TO CHECK (in the code) IF THE NOTIFICATION IS VISIBLE TO THE USER where android version >= 4.3.
http://developer.android.com/reference/android/service/notification/NotificationListenerService.html#getActiveNotifications%28%29
you can't. There is no any functions which to be used to get the state of "Show notifications".
In Google I/O 2012 answered: https://www.youtube.com/watchv=Yc8YrVc47TI&feature=player_detailpage#t=1682s, in 48:05,the leader answered the question use a simple word:NO.

Related Links

Can Eclipse generate a default proguard configuration file
Refresh a particular tab using ActionBarSherlock
What is the rule of the name of the packages that start with number?
Lots of GC when scrolling ListView (with holder pattern)
Using Service stub during Activity Junit test
Downloading html source on Android Crashes the Application
animated sprite from texturepacker xml
get search result from website and parse it into android application using KSOAP2
SharedPreferences Base64 encoding assistance needed
Android on incoming call change the name on screen
Does flash/flex have `matrix` for image scaling as Android?
Play Sequence of audio files with SoundPool class of Android
Open Twitter application user profile from Android application
I can't receive my message in my Android Device through google cloud messaging?
cannot type inside webview in android4.0
Calendar Gridview - slide in and out animation on month switched

Categories

HOME
scikit-learn
telegram
fpga
apache-spark-mllib
error-handling
big-o
code-coverage
character
fhir
project-intu
datastage
shared-libraries
parameter-passing
http-post
modbus-tcp
swagger-2.0
windows-xp
blade
springfox
parcelable
pchart
jquery-callback
direct3d11
strongname
intersystems-cache
spotipy
uitapgesturerecognizer
volatile
cart
hard-drive
sammy.js
instantiation
getpixel
html-encode
modalviewcontroller
slacktextviewcontroller
graphhopper
nohup
p4merge
azure-arm
knime
android-exoplayer
apache-directory
rfc3339
facebook-social-plugins
httr
servermanager
check-mk
seq
template-toolkit
structuremap4
angular2-testing
actor-platform
watch-os-2
signalr.client
delta
pre-build-event
nss
boost-serialization
highland.js
java-money
iokit
android-launcher
visual-sourcesafe-2005
git-ftp
webfinger
rickshaw
universal-image-loader
websphere-esb
gd-graph
c++builder-xe5
jeromq
oocss
cmmi
epiceditor
windows-98
stacky
robotlegs
idn
os.system
iboutlet
listitem
garbage
inkcanvas
window-decoration
koken
agility.js
update-statement
twitterizer
delimited-text
facebook-iframe
vs-android
sifr3
localizable.strings
linfu-dynamicproxy
technical-debt
business-model
change-management
wcf-proxy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App