View Single Post
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#12
Originally Posted by ajack View Post
May I request a configurable daemon only instead? Just want something that updates my location on Google Latitude. Preferably with configurable intervals and types (GSM, GPS) of updates. Nothing more than that. The widget is for those that one a more visual result.
We've got that. A command line Google Latitude update that you can automate via the alarmed program. Latitude update scripts were first posted by MasterZap on page 17 of the following forum:

http://talk.maemo.org/showthread.php?t=38542&page=17

Here are the instructions. If you like it, you can install alarmed from your application manager and set it to execute the latitude script at the desired intervals.

#1 install the google latitude python API. This is basically done by:

#1.1 Downloading it from the link:
http://code.google.com/p/google-api-...downloads/list

#1.2 Unzipping it to somewhere (doesn't matter, next step copies it to where it "should go")

#1.3 doing "python setup.py install" in that directory

#1.4 I think you can now delete the directory/file you downloaded, since step 1.3 copied files to some magical place in python package heaven

#2 make sure python-location is installed (If not, do "apt-get install python-location" but mine was already installed)

#3 Create /home/user/latitude and put my version of the script in it

#4 Run it once first to do the authorization magic. It will ask you to go to a link which you (unfortunately) have to cut-n-paste into your webbrowser

#5 Once done, the script should run. You can either sun it as is with "python zaps-latitude-updater.py", or put it into alarmed to be run e.g. every 15 minutes with the "--once" option, so it updates once and just exit, i.e. you can put in "python /home/user/latitude/zaps-latitude-updater.py --once" into AlarmeD
 

The Following User Says Thank You to cddiede For This Useful Post: