10/15/2009, 11:38 PM
|
#101 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 4
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
hmm my connection to latitude stopped working yesterday all of a sudden, so i went back to the original setup. Happen to anyone else?
Reinstall does not work. The original method still works though. |
10/22/2009, 09:36 PM
|
#103 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
This is interesting now. I fixed my index.html tonight because originally, I thought that it would constantly upload. Turns out, it only uploads my location with the page is visited. Longitude doesn't have to be running, but as long as the page is visited, my phone transmits my location. Any idea why?
|
10/23/2009, 05:19 AM
|
#105 (permalink) |
|
Member
![]() Join Date: Jan 2007
Posts: 13
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
tested the lastest version 0.2.1 ... got the problem that it will update my server regularly if I choose intervalls up 30s. 1m and longer doesn't work and no updates are sent to my server. Is this a known bug? Is there a version with that bug fixed?
|
10/26/2009, 11:47 PM
|
#106 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Posts: 3
Likes Received: 0
Thanks: 3
Thanked 1 Time in 1 Post
|
Quote:
After digging through the class, and turning on a lot of the debugging, I think I've figured out that the google login is failing because of a new param "GALX" which is stored in the cookie *after* you attempt to login. So, over and over, it sends, I get a cookie, but then I'm put at the generic (not logged in) page because it doesn't like the login attempt. At least that is what SEEMS to be happening to me. I've verified the username and password by using cut/paste to the login form just in case I was messing up something simple. Any ideas? |
|
10/31/2009, 11:27 PM
|
#107 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Posts: 3
Likes Received: 0
Thanks: 3
Thanked 1 Time in 1 Post
|
Quote:
I'm teasing, no offence ment! I just wanted to see if I could find another solution.I did some searching, found out that another crew made a bridge for the iPhone from MyPhone. I looked at the code and it's simple. I mean, really simple. So I got to thinking. All of the code I've seen so far is php based on the Pre, but, I don't want to install wordpress. Not an objection to it, just saving room on my pre. So, another solution. Originally, DolphinKing published Longitude as a client on the Pre and a server on a website. Taking that model, I stripped apart the iPhone php app. Removing the references to MyPhone was simple. Basically, if we call the luna-send location routine and send it to a website, the website can process the data. We can call luna-send directly from a shell script. Inelegant, but simple. On the webserver, the iPhone people figured out how to update Google Latitude without using the iGoogle widget. By using the headers from that project, updating Latitude becomes a piece of cake. A fast update to the server script, and presto. Going forward I would like to do the update to Latitude directly from the Pre, and skip the webserver all together. It'd be easy if I get up and install php on my Pre. *laughs* Tell you what, if you want it, you can do it. It's simple! In the mean time, take a look at this, kick the tires, see what you think. |
|
11/09/2009, 09:00 AM
|
#108 (permalink) |
|
Member
![]() Join Date: Dec 2004
Posts: 60
Likes Received: 0
Thanks: 1
Thanked 2 Times in 1 Post
|
I wrote a server bridge in ASP for my Pre, as well as a simple client that ran on my Pre and updated Latitude via my bridge on a regular basis. It worked fine.
I then ported the server bridge code to the Pre, so that it would update Latitude directly, without the server bridge. I tested it on the emulator, and it worked perfectly! I could update Latitude directly. However, when I moved it to my Pre, it failed - it wouldn't log in (I have it logging into the iGoogle page to do the update). After some investigation, I found out that the user-agent string used with the httprequest object in the emulator is different than it is on the phone. And Google identifies the user-agent sent in the httprequest, says "hey, this is a phone" and sends you off to the mobile Google page instead of the iGoogle page. Palm in its infinite wisdom has decided that despite the fact they have a property of the httprequest that allows you to change the user-agent - it is ignored, and always sends its own user-agent string, regardless of what you set it to. So until a) Palm changes this, or b) Google releases a Latitude direct-update API, there's no way that I can think of that will work for updating it directly.
__________________
http://wwwebos.com - webOS User Community |
11/13/2009, 08:39 PM
|
#109 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Posts: 3
Likes Received: 0
Thanks: 3
Thanked 1 Time in 1 Post
|
Quote:
|
|
11/19/2009, 08:53 PM
|
#110 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Charlotte, NC
Posts: 326
Likes Received: 0
Thanks: 1
Thanked 251 Times in 47 Posts
|
hey guys, i've taken a liking to this program again and am doing some development. i grabbed a server and will be hosting a longitude service so that all you need is a login and will able to see your location as well as your friends! more coming soon. follow d0lph1nk1ng Software or @d0lph1nk1ng on Twitter for updates as well as keeping an eye on this thread
__________________
Thanks, @d0lph1nK1ng http://dolphinking-software.com My apps → dkGoogleVoice → ScreamIt → dkStopwatch → CoinToss → DigiClock → dkLightsaber → CowTasks → iTunesRemote → AndroidApp → Longitude |
11/21/2009, 10:50 PM
|
#111 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Charlotte, NC
Posts: 326
Likes Received: 0
Thanks: 1
Thanked 251 Times in 47 Posts
|
Here is a beta preview of the server side of this app. Now you will not have to do the hosting part of this app. Also, you will not have to generate your own google maps api key. Try looking for "ruby". This page is also viewable from your Palm Pre. Feedback is welcome.
Beta Link: Longitude Thanks and enjoy!
__________________
Thanks, @d0lph1nK1ng http://dolphinking-software.com My apps → dkGoogleVoice → ScreamIt → dkStopwatch → CoinToss → DigiClock → dkLightsaber → CowTasks → iTunesRemote → AndroidApp → Longitude |
12/07/2009, 04:11 AM
|
#112 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Posts: 25
Likes Received: 0
Thanks: 2
Thanked 18 Times in 6 Posts
|
Quote:
Thanks! --Todd |
|
12/11/2009, 08:06 AM
|
#113 (permalink) | |
|
Member
![]() Join Date: Oct 2005
Posts: 28
Likes Received: 0
Thanks: 2
Thanked 1 Time in 1 Post
|
Quote:
|
|
![]() |
|
| Tags |
| app, gps, pre |
| Thread Tools | |
| Display Modes | |
|
|



