It looks like you're new here. If you want to get involved, click one of these buttons!
require "geolocation" local function onLocationUpdate(event) print("location: ", event.latitude, event.longitude, event.altitude) end local function onHeadingUpdate(event) print("heading: ", event.magneticHeading, event.trueHeading) end geolocation:addEventListener(Event.LOCATION_UPDATE, onLocationUpdate) geolocation:addEventListener(Event.HEADING_UPDATE, onHeadingUpdate) geolocation:start() |
Comments
http://www.giderosmobile.com/DevCenter/index.php/Deployment