Page 1 of 6 123456 LastLast
Results 1 to 20 of 114
  1.    #1  
    A homebrew solution while waiting for a Google Latitude app. This application requires that you run a webserver with PHP on it. If you do not know what that is, then this app is probably not for your. This app has two parts: the PHP/web files that go on the server and the Palm Pre app.

    The Pre app gets your GPS coordinates and posts the information to your webserver via a PHP page that stores the data in a local file. Then, give the index.html link to your friends so that they can look at that address to see your position

    Download the Web files for the PHP server from here:
    http://d0lph1nk1ng.is-a-geek.com/pre...tude-0.1.0.zip

    Download the app from the Homebrew Apps Gallery: Longitude

    After downloading the IPK and ZIP file, extract the ZIP files to your PHP server directory. Also, you will need to generate a Google Maps API key. Then go into the index.html and change the name to your server or IP address and enter your API key. Then, in the IPK, put the server address or ip in the preferences screen.

    EDIT 8/17 by d0lph1nK1ng:
    posted source code for original app

    EDIT 8/17 by Dacsoft:
    I am including a version that updates 1 time every minute instead of every 5 seconds. Over the weekend I will change it to allow the user to configure it.
    Attached Files Attached Files
    Last edited by d0lph1nK1ng; 08/17/2009 at 10:35 PM.
  2. sam1am's Avatar
    Posts
    172 Posts
    Global Posts
    176 Global Posts
    #2  
    Pretty cool - I'm going to set this up tomorrow. I'll have a look at the .php and see if it can be made to submit locations to the real google latitude.

    Edit: Looks like the heavy lifting has been done here: http://github.com/natfriedman/playnice/tree/master

    I'm going to look into porting this tomorrow if I have time.
    Last edited by sam1am; 08/07/2009 at 03:00 AM.
  3. #3  
    Pretty cool was waiting for something like this
  4. #4  
    Live in the gallery!
  5. s4mb4's Avatar
    Posts
    157 Posts
    Global Posts
    158 Global Posts
    #5  
    hmm, i have been doing this for about a week now. i do not need a seperate server. the Pre is capable of being a php web server all by itself. see HowTo here;
    Lighttpd - WebOS Internals
  6. #6  
    Added link in Opening Post to give download link information:

    Download the latest version from the Homebrew Apps Gallery: Longitude

    - Craig
  7. #7  
    Is there a version of this for the iPhone and other devices too? I like everyone in my family knowing where everyone else is, but would prefer not having google know that...
  8. #8  
    Nice app, I will be testing this out!

    I like having the ability to post this to an external webserver. Although having a webserver built into the app would be cool to. Which method would take up more bandwidth, constantly updating your location to the webserver, or hosting the http script from the phone?
  9. DonBakke's Avatar
    Posts
    83 Posts
    Global Posts
    93 Global Posts
    #9  
    I'm looking at this from a business perspective. Could this be used by truck drivers so dispatchers can know where their trucks are? I'm thinking this could be a cool way to build a desktop mobile resource tracking application.
  10.    #10  
    2 things. First, I have updated the description reminding people to generate their own Google Maps API key. Second, I have changed the license of this application to Open Source. Enjoy!
  11.    #11  
    Quote Originally Posted by DonBakke View Post
    I'm looking at this from a business perspective. Could this be used by truck drivers so dispatchers can know where their trucks are? I'm thinking this could be a cool way to build a desktop mobile resource tracking application.
    i will post the source code soon, but you could definately change the index.html to put a marker for each driver showing their name or truck # in the bubble and pull the lat,long from a database on a server instead of a text file. Good luck!
  12. nethan's Avatar
    Posts
    96 Posts
    Global Posts
    97 Global Posts
    #12  
    Cool app. A couple of quick questions though.

    The app says I am in downtown Charlotte, which I'm not.

    Also, it seems to be updating every 5 seconds or so. Is there a way to turn down this update speed or does it not effect battery/bandwidth on the Pre and hence not really matter?

    Thanks again for writing the code for this.

    EDIT:

    Ok, I've been troubleshooting and it looks like the map is saying it's updated via LAST FETCH but the LAST UPDATED is from a few days ago and hence why I am getting the default data being Charlotte. I'm guessing either something is screwy with the file permissions on my PHP server (I tried setting location.dat to 777 but no luck there) or the server setting on the pre itself is wrong. I've got it set to "http://www.myservername.com/folderthatPHPscripsarein/"
    Last edited by nethan; 08/07/2009 at 03:12 PM.
  13. ssrjazz's Avatar
    Posts
    786 Posts
    Global Posts
    790 Global Posts
    #13  
    very cool lil latitude-like app. One request. Adjustible update time. Looks like it updates every 10 seconds. being able to set how many seconds/minutes would be killer.
  14. nethan's Avatar
    Posts
    96 Posts
    Global Posts
    97 Global Posts
    #14  
    Got it working finally. I had misspelled something in the server name. It was still saying SUCCESS in green as it was updating somewhere, just not where I want it to be.

    It works great and should be pretty easy to embed in various web pages.

    Thanks again.
  15. #15  
    I can't get the location.dat to update on my website. Everything else displays properly and I have the correct website in the Pre app. The app says its uploading successfully.
  16. #16  
    Quote Originally Posted by Abyssul View Post
    I can't get the location.dat to update on my website. Everything else displays properly and I have the correct website in the Pre app. The app says its uploading successfully.
    Make sure location.dat is set to 777 and you might have to set the saveLocation.php file to 755.
  17. #17  
    I just set the files to 777 to no avail.
  18. #18  
    Quote Originally Posted by Abyssul View Post
    I just set the files to 777 to no avail.
    Is the file not updating or are you not seeing the changes?

    Try navigating manually to the saveLocation.php and make sure it executes properly.
  19. #19  
    The file refuses to update.

    index: http://aby.net16.net/index.html
    php file: http://aby.net16.net/saveLocation.php
    Last edited by Abyssul; 08/08/2009 at 12:32 PM.
  20. #20  
    Quote Originally Posted by Abyssul View Post
    The file refuses to update.

    index: My Location
    php file: http://aby.net16.net/saveLocation.php
    Well I tried to run the saveLocation.php file the same way the app does and your free host tried downloading it to my computer (refused to execute the file). I then proceeded to just try accessing it without attempting an update and it came up with a "We're checking the site for abuse" page.

    Try another free host and you might get one that will allow it to work.
Page 1 of 6 123456 LastLast

Tags for this Thread

Posting Permissions