How would you like to sync your Android device’s Google Voice to your current location? Well with there’s a way for you to do this now. Google Voice locations use cell tower triangulation to switch your ringing Google Voice phones on the fly.

You can accomplish this by meeting these requirements first:

* Google Voice (if you lack an account, or a friend with an account with invitations, try requesting an invite.
* Android phone w/ data plan and GPS
* Locale for Android ($9.99—here’s a barcode-scan-able QR code)
* Locale GPS Plug-In (Free, QR code)
* HTTP Poster and Locale Plug-In (Free, QR code)
* Web server w/ PHP 5 (uses cURL and json_decode)

Part 1 – The PHP

1. Download googlevoice-locale.php
2. Open that file for editing, add your Google Voice login and password to the top, and save.
3. Upload the script to a secret location on your web server—and consider renaming it, too, since this location tweak is now public.

Part 2 – Configure Locale

1. Create a new Situation with a condition of where or when your Google Voice settings should change (ie: while you’re sleeping, at home or in the office)
2. Add a Setting using the HTTP Post plugin to tell your server which phones to turn off or on.
HTTP Post settings:
URL: http://yourawesomeserver.com/googlevoice-locale.php?on[]=home&off[]=work (replacing yourawesomeserver.com with your real domain name, and renaming googlevoice-locale.php if you did that earlier, naturally).
Select GET

Part 3 – Name, save and activate the Situation.

The PHP script is set to toggle numbers using the names you assigned them on the Google Voice settings page, so if your phone is named “Work” use “work” (lowercase) in the URL.

The possibilities with Google Voice and Locale are endless. In addition to toggling phones based on your location, you can toggle them when you’re with your mistress, when your phone is charging or about to die, and can even route your calls through Gizmo when you’re connected to your home WiFi.

It’s also worth noting that Chad’s trick doesn’t just work with GPS location. Using Locale’s settings, you can have Google Voice ring certain phones at certain times of day, when you’re within range of a certain Wi-Fi network, when your phone’s low on battery power, and through other conditions. This isn’t an easy 1-2-3 hack, but if you can upload files to a personal web server space, you can probably pull it off.

[via lifehacker]

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.