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

How to Authenticate user on Android using Rails Devise as backend?
Android directory creation on SD card
org.json.JSONException: End of input at character 0 of
Android Device Monitor not showing content of data/user where my database is stored
Android different swipe directions using ViewPager
Reverse layouts inside RelativeLayout programmatically
Glide pre loaded image
Firebase retrieving data Error
BluetoothPAN android
Android how to create counter from service?
Android - How to set a list of webview with icon on right inside relative layout programmatically
React Native and Android Firebase Notifications: Tokens returned by react-native-fcm are Invalid according to the Firebase console
Android RelativeLayout does layout_alignTop include padding / margin?
Should a RabbitMQ module be implemented with AsyncTask or a bound service?
manage periodic tasks with job Scheduler?
What is the event identifier in Neura?

Categories

HOME
oracle12c
prism
deep-learning
c++11
ecmascript-6
character-encoding
numbers
error-handling
gradient
cakephp-3.4
jetty
g++
ibeacon-android
distribution
speech-synthesis
symmetricds
gruntfile
template-engine
jmp
blade
joptionpane
imageresizer
object-storage
custom-post-type
pylons
ceylon
recurring-events
mustache
git-squash
python-pptx
apiary.io
dm-script
chef-solo
comparison-operators
magento-1.9.3
vmware-fusion
show-hide
clang++
rfc3339
builder
automapper-5
mschart
singleinstance
backbone-collections
edit
dt
cup
stripe-connect
usart
docpad
pytables
autosar
google-cloud-console
scaffolding
mediametadataretriever
concept-insights
flock
page.js
cgi-bin
skspritenode
omnifaces
uvc
kubuntu
android-broadcast
diff3
umlgraph
administration
easyrtc
linkedin-jsapi
unix-socket
ora-00904
functional-java
maven-scm
multiautocompletetextview
gwt-openlayers
android-usb
wimax
booksleeve
extreme-programming
pyunit
multiplexing
htdocs
photolibrary
burndowncharts
windows-identity
wysiwym
business-model
information-management
change-management

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