Palm Pre tweets GPS coordinates

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.

One Response to “Palm Pre tweets GPS coordinates”

  1. Palm Pre tweets GPS coordinates - Gadget Reviews Says:

    [...] Palm Pre tweets GPS coordinates [...]


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>