maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 + Google Latitude (https://talk.maemo.org/showthread.php?t=38542)

wurtel 2011-04-14 09:18

Re: N900 + Google Latitude
 
I also see that fetching the list of friends in the GUI tool doesn't work :(

[QUOTE=petur;987971
EDIT: and where did you see the 404? In the app somewhere? Or does it log stuff?[/QUOTE]
If you run
/opt/linfati.com/GoogleLatitudeDaemon in a terminal, you get some output:
Code:

~ $ /opt/linfati.com/GoogleLatitudeDaemon
Daemon: set_config
GoogleLatitude: set_login
GpsMaemo5: config
GpsMaemo5: refresh
GpsMaemo5 lat 52,389932 lon 4,836796 eph 537,630000
GpsMaemo5 lat 52,389932 lon 4,836796 eph 537,630000
GpsMaemo5: stop
Daemon: set
Daemon: set_config
GoogleLatitude: set_login
GpsMaemo5: config
GoogleLatitude: update
GoogleLatitude: login
GoogleLatitude: dologin
GoogleLatitude: update ok
"<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>
"
Daemon: ok
GpsMaemo5 lat 52,389932 lon 4,836796 eph 537,630000
^C


wurtel 2011-04-14 09:24

Re: N900 + Google Latitude
 
I tcpdumped the connection, and wireshark tells me:

POST /glm/mmap/mwmfr?hl=en HTTP/1.1
HTTP/1.1 404 Not Found

So, something there changed :(
Gluppy doesn't seem to work anymore either.

Eagerly awaiting an update for Linfati's daemon!

rlinfati 2011-04-14 09:42

Re: N900 + Google Latitude
 
- urlupdate = QUrl::fromEncoded("http://maps.google.com/glm/mmap/mwmfr?hl=en"
+ urlupdate = QUrl::fromEncoded("https://maps.google.com/glm/mmap/mwmfr?hl=en

but not sure if is working correctly...

EDIT: not working... i need migrate to the new latitude api :(

eladts 2011-04-14 17:43

Re: N900 + Google Latitude
 
For those of us who still want to update their location from the N900, google.com/latitude works fine. You just need to allow it access to the geolocation API. It seem to be doing "smart update" - the update rate changes according to your speed.

jpala16 2011-04-14 18:08

Re: N900 + Google Latitude
 
Quote:

Originally Posted by eladts (Post 988385)
For those of us who still want to update their location from the N900, google.com/latitude works fine. You just need to allow it access to the geolocation API. It seem to be doing "smart update" - the update rate changes according to your speed.

It runs fine... with what app?
In Opera seems impossible to me. It says my device is not compatible.
Firefox 4 has phony and it's easy to change to iPhone user agent, but it's sooooo slooooow and memory and cpu consuming.
On MicroB I use Hide User Agent (app on extras-devel) but I have an Android user agent (I like it the most) and it's quite unconfortable to change from a user agent to others and so on (it's perfect for setting a user agent or revefrting to original. Set/Remove/Change User Agent options only). With Android's user agent Google only offers the option to go to the Market or start the Android application of Latitude.
Macuco (on maemo repositories) would be the best option if it updated my geolocation. It seems like it doesn't.

¿So?

petur 2011-04-14 18:50

Re: N900 + Google Latitude
 
thinking this through a bit... Does this mean that up to now out google login was done in cleartext? I sure hope not :/

wurtel 2011-04-14 19:38

Re: N900 + Google Latitude
 
Quote:

Originally Posted by petur (Post 988440)
thinking this through a bit... Does this mean that up to now out google login was done in cleartext? I sure hope not :/

AFAIK it's like all the signing in at google: the login is secure, and the authentication token you get is used in plain text after that.

eladts 2011-04-14 19:40

Re: N900 + Google Latitude
 
Quote:

Originally Posted by jpala16 (Post 988405)
It runs fine... with what app?
In Opera seems impossible to me. It says my device is not compatible.
Firefox 4 has phony and it's easy to change to iPhone user agent, but it's sooooo slooooow and memory and cpu consuming.
On MicroB I use Hide User Agent (app on extras-devel) but I have an Android user agent (I like it the most) and it's quite unconfortable to change from a user agent to others and so on (it's perfect for setting a user agent or revefrting to original. Set/Remove/Change User Agent options only). With Android's user agent Google only offers the option to go to the Market or start the Android application of Latitude.
Macuco (on maemo repositories) would be the best option if it updated my geolocation. It seems like it doesn't.

¿So?

I just use MicroB without changing the user agent and the site works. It does use a lot of CPU, though.

rlinfati 2011-04-14 20:05

Re: N900 + Google Latitude
 
Quote:

Originally Posted by petur (Post 988440)
thinking this through a bit... Does this mean that up to now out google login was done in cleartext? I sure hope not :/

no, only your location.
the auth was made via https

jpala16 2011-04-14 21:39

Re: N900 + Google Latitude
 
Quote:

Originally Posted by eladts (Post 988470)
I just use MicroB without changing the user agent and the site works. It does use a lot of CPU, though.

Hell, I thought I had already tried that without success. Thanks, I'll try it again.


All times are GMT. The time now is 20:23.

vBulletin® Version 3.8.8