Code Monkey home page Code Monkey logo

android's People

Contributors

harelm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gitovka

android's Issues

Doesn't wake up the phone on newer versions of android

Hi!

Thank you for this cool app! I've been using it for years - best alarm clock around!

I've just upgraded from my old Samsung Galaxy S3, running Android 4.x, to a new phone, running Android 8.0.0 (Oreo). Stupid simple alarm clock has a problem on this new device. I've also tried it on a phone running Android 7 (Nougat) where it had the same problem.

Stupid simple alarm clock works well on these new phones, when i do "quick testing" (like setting the alarm to 1 minute from now, or 10 minutes from now), but when i leave the phones overnight, it does not wake up the phone to ring the alarm. It is not until you've already woken up yourself, and you turn on the screen manually, that the alarm starts ringing. (Kind of defeats the purpose of the alarm :D)

Since i love this app, i hope you will find the time to make it work for new versions of Android :)

If you need more information, feel free to ask. :)

(I do however not know what the problem is (some permission perhaps?). I think you should be able to reproduce it on any newer phone by setting the alarm over night - as mentioned, it works fine if you just set it to e.g. 10 minutes in the future)

Perhaps it's about calling .setAlarmClock() vs .setAndAllowWhileIdle() on AlarmManager? (see https://developer.android.com/reference/android/app/AlarmManager.html)
Ok, i see these are methods are from a newer API, but the documentation about "low-power idle (a.k.a. doze) modes" for these and for .set() seem interesting. (Also: https://developer.android.com/training/monitoring-device-state/doze-standby.html )

Update: Perhaps this is useful: https://stackoverflow.com/questions/34378707/alarm-manager-does-not-work-in-background-on-android-6-0 and https://stackoverflow.com/a/35657293/1743225

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.