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)

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 20:22.

vBulletin® Version 3.8.8