As title, I in the maemo. Org for two days only found open GPS python statements and program, and I want to shell script of statements directly call everybody knows it, thanks
def on_changed(device, data):
if not device:
return
if device.fix:
if device.fix[1] & location.GPS_DEVICE_LATLONG_SET:
print "lat = %f, long = %f" % device.fix[4:6]
# data.stop() commented out to allow continuous loop for a reliable fix - press ctrl c to break the loop, or program your own way of exiting)
As title, I in the maemo. Org for two days only found open GPS python statements and program, and I want to shell script of statements directly call everybody knows it, thanks