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)

Klowner 2010-03-09 22:45

Re: N900 + Google Latitude
 
It's far from done, but it's a decent start http://github.com/Klowner/gluppy

Klowner 2010-03-11 06:54

Re: N900 + Google Latitude
 
http://github.com/downloads/Klowner/...11-2_armel.deb
If anyone wants to try it out. The config thing doesn't work yet, but you can set your preferences using gconftool-2 (there's instructions in the README). It should work.

henkp 2010-03-16 12:12

Re: N900 + Google Latitude
 
First of all, thanks for taking the time to code such a piece of well needed software for a phone/computer that was built with connectivity in mind.
Second, i tried it, but can't seem to get it to work! after supplying the daemon with the right configuration and my google-accountdetails, the satellite-dish appears, thus setting the boolean to true does something, but when i check my location from a pc, it still says '2 days ago' instead of '1 minute ago' or something like that. I have also checked again about an hour later because i had a feeling there might be a slight delay, but to no avail.

Settings that might be of any interest:
N900 PR 1.1.1
3g-connection in use, account entered as USERNAME@gmail.com, password contains numbers, letters and symbols. Refreshrate set to 3600 seconds. I'm at a loss concerning the problem, I am no coder myself. Glad to be testing though :-)

michalurban 2010-03-27 08:20

Re: N900 + Google Latitude
 
Seems to be same for me, GPS is constantly running but no change at Google Location History.

gjas18 2010-03-28 00:43

Re: N900 + Google Latitude
 
Works perfectly here... Updates latitude location on igoogle just like it should.

Only issue I see is it needs to not constantly have GPS running, only turn on GPS when it hits the update interval. This will destroy battery life if not fixed.

Also would be nice if it was in one of the repositories so we can get notified of updates on the device.

michalurban 2010-04-11 17:02

Re: N900 + Google Latitude
 
Wassup here? New info on GPS instantly running fix? :)

Inacurate 2010-04-11 17:19

Re: N900 + Google Latitude
 
I was just wondering about this myself. Some people have it working, others, like myself, are having issues.

Looking for something that I can use to update my location online all the time, whether it is Google Latitude or not, doesn't really matter but I love my Google! :)

twoboxen 2010-04-11 19:50

Re: N900 + Google Latitude
 
just wait for shephard to be released after PR1.2 is.

duryard 2010-05-14 15:56

Re: N900 + Google Latitude
 
Just tred to install this but it ask for

libqt4-core
libqt4-maemo5

Any help appreciated

henkp 2010-05-14 18:14

Re: N900 + Google Latitude
 
You can't install it at the moment because the autobuilder makes it dependent on stuff only installed on 1.2
So as stated by twoboxen above, just wait for 1.2 (or install it if you have.. 'acquired' it)

duryard 2010-05-14 18:48

Re: N900 + Google Latitude
 
Ok thanks henkp. Thought it was looking for me to install QT

Snow_King 2010-06-26 18:44

Re: N900 + Google Latitude
 
I'm experiencing the same problem, GPS stays on (PR 1.2) but the location doesn't get pushed to Google.

Any idea?

EDIT: I ran a tcpdump but there is no HTTP traffic going to Google, so gluppy is never pushing any data or doing a auth.

gluppyd is running btw!

Wibbler 2010-07-30 09:00

Re: N900 + Google Latitude
 
I had been havins some problems with the extras-development repos, but sorted this out to get the latitude widget.
I've not had any problems with the installation routine, that went very smoothly. Good Work! :D
I've not been anywhere yet to be able to see what the updates are like and it it will do what I expect.
I'll post back

Tinfoil 2010-08-13 08:45

Re: N900 + Google Latitude
 
Press shift key on keyboard and double tap. Tap has to be precise on the same spot else it will move the map instead.


Quote:

Originally Posted by flydeep (Post 535681)
I have been playing little with google maps and seem to like it. Looks like it is the best alternative for now. In the hover mode, you can double tap to zoom in.

But is there a way to zoom out of the map? I couldn't find an option to do that.


jhellen 2010-09-07 14:54

Re: N900 + Google Latitude
 
I've had a lot of problem with this app. Sometimes it start sending my position twice a second even if I'm not moving. It drains the battery really quickly.

The other problem is that it every now and then keeps asking for connection even if I have a working connection and I choose the working connection from the list. The list of connections just keep popping up all the time. Sometimes the only solution is to power off the device because you can't access anything else when the connection chooser gets stuck in this loop.

This would be a really great app if these things would be fixed.

jhellen 2010-11-01 08:00

Re: N900 + Google Latitude
 
Now my connection problems are gone but the application is still really unreliable. Usually it updates my location every second even if I'm not moving and sometimes it goes crazy and updates it twice every second. I can't use this anymore because sometimes it drains my battery in 3 hours. It also consumes too much resources so that it is almost impossible to use the phone. Menus and scrolling get really slow etc.

I wish I could help with this.

egoshin 2010-11-01 23:16

Re: N900 + Google Latitude
 
1 Attachment(s)
Quote:

Originally Posted by jhellen (Post 859323)
Now my connection problems are gone but the application is still really unreliable. Usually it updates my location every second even if I'm not moving and sometimes it goes crazy and updates it twice every second. I can't use this anymore because sometimes it drains my battery in 3 hours. It also consumes too much resources so that it is almost impossible to use the phone. Menus and scrolling get really slow etc.

I wish I could help with this.

Take this one (attached), unpack and put into /opt/linfati.com/googlelatitude

It requires PR1.3.

I built it from latest author sources and it has GPS update each 120secs. It still consumes too much battery due to dbus polling cycle - each 1/5 sec or so, but it is essentially less, because it doesn't use 3G each time. I am looking into it.

Unforrtunately, author gone somewhere in May and does not respond to messages...

Please respond here with short review.

Kieron 2010-11-25 13:36

Re: N900 + Google Latitude
 
Any update on this? I really miss having an automated latitude updater on my n900, one of the major android features I miss.

Thanks guys...

MasterZap 2010-11-26 12:18

Re: N900 + Google Latitude
 
Any work done on this?

I just noticed that simply having the google latitude open in the browser works fine and updates automatically. I just wonder what option is the least battery hungry, doing that - or running this app?

Also, I would want it to happen automatically without occupying an open window in the taskmanager....

/Z

rlinfati 2010-11-26 15:16

Re: N900 + Google Latitude
 
"preferred-method", LOCATION_METHOD_ACWP
"preferred-interval", LOCATION_INTERVAL_120S

my code is NOT using the gps, use the cell tower to get the position every 120 sec.

if you have others apps pulling updates from gps or in less of 120sec. the googlelatitude will be update on each pull, by design of the "gps c api". To avoid this i need migrate to qt mobile location.

MasterZap 2010-12-14 12:59

Re: N900 + Google Latitude
 
What I don't quite get about the "Google Latitude Updater" is that it apparently gets you to some variant of the "google maps" website. Now, notably, on this "google maps" website:

- panning with your finger works!!
- it has zoom +/- buttons!!!!

Is there a way to get directly to this kind of google maps page? Is there a link for this? Because in this way, google map is directly usable on the N900! I just want to break this out of this app... how is this done? Is this done by tricking the user Agent, or how does it work??

/Z

petur 2010-12-14 16:24

Re: N900 + Google Latitude
 
Quote:

Originally Posted by MasterZap (Post 896587)
What I don't quite get about the "Google Latitude Updater" is that it apparently gets you to some variant of the "google maps" website. Now, notably, on this "google maps" website:

- panning with your finger works!!
- it has zoom +/- buttons!!!!

Is there a way to get directly to this kind of google maps page? Is there a link for this? Because in this way, google map is directly usable on the N900! I just want to break this out of this app... how is this done? Is this done by tricking the user Agent, or how does it work??

/Z

the geeps app?

MasterZap 2010-12-15 07:38

Re: N900 + Google Latitude
 
"GeePS" yeilds a blank screen on my device.

I am reffering to Linfati's "Google Latitude Updater".
https://garage.maemo.org/projects/googlelatitude

It clearly is a thin frontend to the google maps page, however, that variant of google maps doesn't have the deficiens that running google-maps directly does, i.e. not being able to pan with the finger and not having any scaling.

The "google maps variant" that the Linfati app goes to has these two issues solved; panning works, and there is a zoom +/- button.

What I wonder is, how can I get to this directly, without using this app?

I even downloaded the *source* to this app and tried to decipher what link it is actually going to, but trying to go to same link myself does NOT yeild this extra feature. It's odd, reading the source (I'm a developer myself) I don't see any extra magical handling of neither user agents nor trickery with mouse clicks, it seems a straightforward html page window.... but it gets these features... I just wonder how it does that ... that's all :)

/Z

petur 2010-12-15 08:30

Re: N900 + Google Latitude
 
Quote:

Originally Posted by MasterZap (Post 897152)
"GeePS" yeilds a blank screen on my device.

I am reffering to Linfati's "Google Latitude Updater".
https://garage.maemo.org/projects/googlelatitude

It clearly is a thin frontend to the google maps page, however, that variant of google maps doesn't have the deficiens that running google-maps directly does, i.e. not being able to pan with the finger and not having any scaling.

Fair enough... I thought you were looking for a tool that will give you that, and GeePS does only that: google maps, finger-panning and zoom in/out (using +/- hardware keys)

MasterZap 2010-12-15 14:30

Re: N900 + Google Latitude
 
Yes, I know, when it works (often not) it does sort-of that, but much less elegantly than this "accidental sideffect" of the Google Latitude app.

Basically, I'd want the Google Latitude app without the Latitude as a "Google Maps" app.... and since the source is available, maybe I should write it myself? Havn't seen mr Linfati around for a while anyway....?

/Z

petur 2010-12-15 14:32

Re: N900 + Google Latitude
 
indeed, a simple daemon + config tool is all you need. For example, I would like it to not use GPS for updating unless it was already on, etc...

traysh 2011-01-04 22:44

Re: N900 + Google Latitude
 
1 Attachment(s)
Quote:

Originally Posted by petur (Post 897363)
indeed, a simple daemon + config tool is all you need. For example, I would like it to not use GPS for updating unless it was already on, etc...

Hi all,

I didn't read this thread for a long time and didn't know there were people interested in a Latitude daemon. I've been working on the code available in the garage page of this project and made it work as a daemon. Also, I added a settings plugin to the system's control panel.

There are still some bugs, tough. The most annoying are the high memory consumption and sometimes the daemon tries to connect to the network when it shouldn't. I'll try to fix these as soon as I can.

Source is attached but the .deb is too big to attach here, where can I upload it?

lardman 2011-01-05 08:14

Re: N900 + Google Latitude
 
Quote:

Originally Posted by traysh (Post 911799)
Source is attached but the .deb is too big to attach here, where can I upload it?

Create a Garage project and upload the code there (that way other people can also access and submit modifications to the code), push the binary to extras-devel.

traysh 2011-01-06 04:06

Re: N900 + Google Latitude
 
Quote:

Originally Posted by lardman (Post 912007)
Create a Garage project and upload the code there (that way other people can also access and submit modifications to the code), push the binary to extras-devel.

I wouldn't like to do that without first trying to contact the original author, because it's better not duplicating the packages in extras/extras-devel...
If he doesn't answer me I'll do that, tought.

Edit: ok, requested to join the garage project, waiting for answer.

rlinfati 2011-01-06 04:43

Re: N900 + Google Latitude
 
@traysh

push the code to the git and send me an email/dm to package and upload to extras-devel.

thanks !

MamoriNoTenshi 2011-01-06 05:11

Re: N900 + Google Latitude
 
CloudGPS all the way...


Nuff said

lardman 2011-01-06 09:05

Re: N900 + Google Latitude
 
Quote:

Originally Posted by MamoriNoTenshi (Post 912900)
CloudGPS all the way...


Nuff said

Can this push Google Latitude position updates?

traysh 2011-01-06 23:52

Re: N900 + Google Latitude
 
1 Attachment(s)
Quote:

Originally Posted by lardman (Post 912007)
Create a Garage project and upload the code there (that way other people can also access and submit modifications to the code), push the binary to extras-devel.

What a nice surprise! When I was organizing the code to upload to git and to extras, I got a very small deb. I think that was because of optimizing.

Binary package attached. Expect bugs, this one is just a preview.

Edit: no, it was because building a release version (not a debug one)

achiral 2011-01-07 20:24

Re: N900 + Google Latitude
 
Quote:

Originally Posted by traysh (Post 913779)
Binary package attached. Expect bugs, this one is just a preview.

Looks good. It does update.
But... Is there possibility to set the Intervals to more than 120 Sec? (every 30min would be optimal)

And is there a possibility to make it shut down the location-module between the push Intervalls?

The power drainage makes it unusable otherwise.

lardman 2011-01-08 10:35

Re: N900 + Google Latitude
 
Sorry I've not had a chance to look at the code yet (where have you uploaded it to)?

Setting arbitrary update intervals is a must IMO, and it would also be useful to be able to tell it to only use an existing connection (e.g. so you can leave it running when abroad and not worry about roaming) or specify which connection types it is allowed to start itself.

If there's already a connection up, being able to set a different update interval would be useful (if the connection is there anyway why not update position) but again having it user configurable would be good as the GPS chipset is a power drain so the user should be able to decide how often it's run.

traysh 2011-01-20 22:26

Re: N900 + Google Latitude
 
2 Attachment(s)
Quote:

Originally Posted by lardman (Post 914786)
Sorry I've not had a chance to look at the code yet (where have you uploaded it to)?

Code is now in the repository: https://garage.maemo.org/plugins/ggi...googlelatitude
Sorry I took so long to upload it, I've been in a region with very poor internet connection (tough very nice beaches).

Quote:

Originally Posted by lardman (Post 914786)
Setting arbitrary update intervals is a must IMO,

By "arbitrary update intervals" do you mean any amount of seconds? There are some options in the settings already (check it out), I plan to add others to update less often.

Quote:

Originally Posted by lardman (Post 914786)
and it would also be useful to be able to tell it to only use an existing connection (e.g. so you can leave it running when abroad and not worry about roaming) or specify which connection types it is allowed to start itself.

That's exactly the idea, there's even an option (disabled for now) in the settings to allow that.

Quote:

Originally Posted by lardman (Post 914786)
If there's already a connection up, being able to set a different update interval would be useful (if the connection is there anyway why not update position) but again having it user configurable would be good as the GPS chipset is a power drain so the user should be able to decide how often it's run.

I assumed the device is power efficient for the update intervals that can be set by default (and that are already available in the settings). I don't think if a program request an update every 2 minutes the GPS will be on all the time but only every two minutes. For bigger update intervals, like 30 min, I'll have to handle that by myself, because it's not "natively" available.

Right now I'm trying to solve the high memory usage by moving out the gui code from the daemon. Then I'll address the connections, make it not connect, only update when already connected.

For those who might have missed the settings gui, screen-shots attached.

colm.smyth 2011-01-21 09:44

Re: N900 + Google Latitude
 
Haven't tried yet but are you able to see you location on the google map and see others checkins like on other platforms ?

great work

Quote:

Originally Posted by traysh (Post 925013)
Code is now in the repository: https://garage.maemo.org/plugins/ggi...googlelatitude
Sorry I took so long to upload it, I've been in a region with very poor internet connection (tough very nice beaches).


By "arbitrary update intervals" do you mean any amount of seconds? There are some options in the settings already (check it out), I plan to add others to update less often.


That's exactly the idea, there's even an option (disabled for now) in the settings to allow that.


I assumed the device is power efficient for the update intervals that can be set by default (and that are already available in the settings). I don't think if a program request an update every 2 minutes the GPS will be on all the time but only every two minutes. For bigger update intervals, like 30 min, I'll have to handle that by myself, because it's not "natively" available.

Right now I'm trying to solve the high memory usage by moving out the gui code from the daemon. Then I'll address the connections, make it not connect, only update when already connected.

For those who might have missed the settings gui, screen-shots attached.


traysh 2011-01-21 18:06

Re: N900 + Google Latitude
 
Quote:

Originally Posted by colm.smyth (Post 925246)
Haven't tried yet but are you able to see you location on the google map and see others checkins like on other platforms ?

great work

Yes, you see you and your friends in the map. As almost every smartphone OS has a native client/updater (tough not installed by default), you will be able to see friends who use other platforms too. They only need to install the app specific for their platform and accept your invitation.

It's not necessary to "checkin" into places like in foursquare, updates are generally automatic, in the map.

rubberduck 2011-01-23 08:03

Re: N900 + Google Latitude
 
in the screenshot, theres the possibility to change the location mode between GPS, cell tower, and both.
Where can I find those settings?
In CONFIG, I only can change user, password and intervall.

Thank you

rlinfati 2011-01-23 12:43

Re: N900 + Google Latitude
 
@rubberduck the version 4.6 is not the same version of traysh

the actual method is use the cell tower because is power efficient, the gps will drain your battery, you can not change it.

the interval is in seconds, and not new position are submit before of last_update_time + interval

the daemon is not running at the startup, i need more testing before of enable this option ( roaming, 3g can be expensive and a battery drain )

the version of traysh have some bugs, and need to be fixed before to submit to extras... but i backport some features from their code.

btw, if you run from terminal, can see a log of the operations...


All times are GMT. The time now is 04:39.

vBulletin® Version 3.8.8