android:scripts
This is an old revision of the document!
Python
Location
import android, time droid = android.Android() droid.startLocating() time.sleep(10) while True: l = droid.readLocation().result # provider = network or GPS latitude = l['network']['latitude'] longitude = l['network']['longitude'] print latitude, longitude time.sleep(10)
android/scripts.1299136003.txt.gz · Last modified: 2011/03/03 08:06 by cedric