[racket] request for testing Moby geolocation on android phone
Hi everyone,
I'm trying to see if the geolocation code I'm using for Moby (my
Racket->Android compiler) is robust across different Android
smartphones. If you're interested, can you run the following program
on your Android phone and let me know if it runs well? It's a simple
world program that displays the current latitude/longitude, compiled
with my development version of Moby:
http://hashcollision.org/tmp/loc.apk
The source is below:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#lang planet dyoo/moby
(require (planet dyoo/moby/phone/location))
(define (update w lat lng)
(list lat lng))
(big-bang "loading"
(on-location-change update 10)) ;; request geolocation
update every ten seconds
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
If you can get back to me by tonight about this, I'd greatly
appreciate it. Thanks!