Palm Pre tweets GPS coordinates
Do you want your Palm Pre to tweet its location on a regular basis?
Do you want your Palm Pre to tweet its location on a regular basis? Now you can. But you’ll have to do some “hacking” as one might call it. Before anything you’ll have to setup SSH and dynamic DNS on your Pre. Does that mean anything to you? OK, here is a simple test. If the next line scares you, maybe you should not mess with your Palm Pre:
< ?php
$gps = `luna-send -n 1 palm://com.palm.location/getCurrentPosition {} 2>&1 | cut -d, -f4,5 | sed -r ’s/[^-.0-9,]//g’`;
What? You can write shorter regular expression that does the same thing? Well… here are the rest of the instructions.

