Detect if the notificationbar is pulled down
63354
How to tell if notification shade is pulled down in android
6927
check android application is in foreground or not?
64845
Is there a command like "watch" or "inotifywait" on the Mac?
23197
Android 4.1: How to check notifications are disabled for the application?
129364
How to be notified when foreground (top) activity (application) changes
144503
How can I check if a scrollbar is visible?
21285
How to check if running on UI thread in Android?
77841
Detect if device is charging
76259
Find what app is causing popups, NOT in notification bar
56159
Mark read notifications as unread
143520
Detecting the call events in ios
148531
How to close the status bar/notification panel after notification button click
13296
How to startForeground() without showing notification?
8514
iPhone: Detecting user inactivity/idle time since last screen touch
119342
How to hide a status bar in iOS?
96019
How can I know when my screen was locked last time?
78757
What's the best way to detect when the app is entering the background for my view?