Hello,
what is the magic with wake locks?
I try to prevent that the phone is going to sleep.
Here my code (snippet):
public class GPSListenerHandler extends Handler implements
GpsStatus.Listener, LocationListener {
private WakeLock wakeLock;
protected boolean
FWIW, here is a project where I have implemented a Service that can do
a location check inside of a WakeLock, stopping the service once we
get a fix or a timeout:
https://github.com/commonsguy/cwac-locpoll
On Tue, Jul 24, 2012 at 3:00 AM, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu
2 matches
Mail list logo