I want to reset some shared preference values in the app to zero by 12 am midnight. Android alarm manager is not triggering in a few devices (1+, OPPO) which phones are locked for a long time.
My code is this
"alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()...
Team, Am developing app that count steps using Sensors (Accelerometer) but this is not accurate. So I used Sensor (TYPE_STEP_COUNTER) it was accurate but many devices are not supporting this sensor. Please help me to do step counter for supporting all the devices.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.