Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on MQTT – machine-to-machine connectivity protocol.
In the scenario the phone would go to sleep, incoming data on a socket should wake it up - then you could grab a wakelock and do some work.
However with the new Doze mode(s) this no longer seems to be the case. Now the only way to wake the phone up externally now is with GCM.
Its too early to know for sure (more previews of M will be released) but I'm curious how this end.
There are no comments on this comment yet.
In the scenario the phone would go to sleep, incoming data on a socket should wake it up - then you could grab a wakelock and do some work.
However with the new Doze mode(s) this no longer seems to be the case. Now the only way to wake the phone up externally now is with GCM.
Its too early to know for sure (more previews of M will be released) but I'm curious how this end.