A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.
-
Upload
lauren-burke -
Category
Documents
-
view
213 -
download
1
Transcript of A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.
![Page 1: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/1.jpg)
A Mobile App for the Poor (Or the technology disabled)
SMS + Gmail + Latitude = API Location Hack
![Page 2: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/2.jpg)
The players
• How do you get your location from SMS via Gmail to Google Latitude?
![Page 3: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/3.jpg)
Hack it together
• Hack something together with Python and Oauth
![Page 4: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/4.jpg)
Steps to complete• Check out trunk:
– svn checkout http://gmail-location-for-latitude.googlecode.com/svn/trunk/ gmail-location-for-latitude-read-only
• Run three-legged-dance.py– This setups of the Oauth tokens for Gmail and Latitude
• Schedule glfl_run.py– Accesses Gmail via RSS– Looks for location pattern– If found, location is checked to make sure its newer then the most recent
Latitude update• If newer, geocode the location and set as Latitude position• Else, disregard
– Else, exit and don’t do anything
![Page 5: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/5.jpg)
Running – 1 (In Chantilly, VA)
![Page 6: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/6.jpg)
Running – 2 (Folly Beach, SC)
• Text “Loc 29439”• Now check Gmail• Run glfl_run.py
![Page 7: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/7.jpg)
Now I am on vacation
![Page 8: A Mobile App for the Poor (Or the technology disabled) SMS + Gmail + Latitude = API Location Hack.](https://reader035.fdocuments.us/reader035/viewer/2022072006/56649f455503460f94c679bd/html5/thumbnails/8.jpg)
Why?
• I was bored• I don’t have an internet enabled phone• I don’t want an internet enabled phone
because I would just check work email• Google Code?– I don’t like to leave any code unshared– Easily setup source control and documentation