Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

KetaiLocation: does onLocationEvent fire periodically or only once?

$
0
0

hello,

I'm fiddling around with KetaiLocation resp. the example that can be found at http://ketai.org/examples/geolocation/. In that example the onLocationEvent is used. I would have expected that event to fire every 10 seconds or if I moved more than one meter ("Updates if location changes by 1 meter, or every 10 seconds"). However, the println statement in onLocationEvent only prints once and never again. Is that the expected behavior or do have to call e.g. getLocation() explicitly in draw() to get periodic updates? Does anyone know?

Thanks, Stefan


Viewing all articles
Browse latest Browse all 941

Trending Articles