![]() |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
SMSCON is kind of private app between you and your phone. Nevertheless, it is in our plan to use some code from snuggle to allow a cheaper on battery tracking or as a fall back when GPS is not available (like inside a building etc). On Snuggle, I have worked a lot and add many more features in the backend like a daemon logging movements and an sql database for storing and extracting the movements in files that can be uploaded to sites that give you your tracks in a map for a given period of time. At the moment all is not that user friendly and need some time to make some UI for configuring and initiating those actions. It is just that I am such a slow coder.. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Thanks for the quick responses.
If the gps do not fix eg cinema (in silent mode of course) it use my battery and don't do the job. That's why Snuggle could be a good alternative as you already said. Yes i know about all the stuff like google latitude, FB and co but I don't use it. I've understand and agree that sms con is a thing between me and my N900. In fact if this feature can be donne only my brother, sister and girlfriend would now about this fonction to locate me. As i don't want to receive 10 sms a day just to locate me (lol) As I am patient, I will wait for you accomplished your (great) work. I very thank you for this app and for having considerring my demand on this thread. Many Thanks due to you. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Does this do some kind of inter-extra polation to better locate position between multiple antennas?
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Looks cool. It would be especially useful if you cached and stored the location of known cellids so that it could be used without switching on a network device. Along these lines, being able to populate the database from online would be a good feature.
Regarding sources of information, have you looked at this source?: http://openbmap.org/ It also contains WiFI AP location data, which would be another nice thing to integrate and give access to in order to narrow down the device location without needing to start up the GPS (not sure about the power-location trade offs here, but certainly if you're in a building it might be worthwhile, and equally if you are connected to a WiFi AP anyway no need to start GPS). |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
ATM, I'm using a not yet public API from google to make the translation from cell to location. I will upload the non published code in the next days and maybe someone else would like to contribute. There are plenty of "glue" parts missing.. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
OK, I skipped a few corners (i.e. all of the intermediate commits):
The latest development code can be found in the garage SVN part of the project. https://garage.maemo.org/scm/?group_id=2156 Some of the changes I've recorded for version snuggle_2.7-2 (that is, since 1.9-1 which is in the downloads page): * Added a daemon to log the cell info data. * Added missing dependencies on the python libraries for gobject, dbus, location and httplib2. * Removed logging of all info from the main application. * Added a sudoers file for the daemon. * Modified the postinstall and postrm scripts. * Created helper to populate geolocation data from the cell info and transform it to a kml file. * Changed the timestamping to fit with the kml code; WARNING: old logs are not backwards compatible. * Added new menu fields for creating the kml file and configuring the daemon. * Modified the UI to expand on all the available screen. * Added daemonHelper file to start/stop the deamon. * Added database to store the info. * Added a start-up screen. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
hi,
firstly Great app, it worked for a while but now whenever i select get cordinates it gives me an error. Warning : Could not get a responce from the MMAP API!!! Any idea how to fix this??? |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Saturn, it seems that Snuggle saves (and never deletes) all map "snapshots". so, after just few weeks of usage, I had plentora of unnecessary old map image files in snuggle directory. Could it automatically purge outdated ones?
/Estel |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
1 Attachment(s)
Not that long ago I found out about this program.
What interested me most where the features in the never released version 2.7-2. Having a daemon running which detects celltower changes provides an very energy efficient global tracking system (with the emphasis on global). Unfortunally, the basic setup done in version 2.7-2 has not seen further development for years now. So I decided to pick up from there to address the missing parts. The main change is visible in an extra screen to manage the cellid data. The "de-duplicate log" button is useful for eliminating redundant data, as you can have a ping-pong effect between celltowers when you are not on the move. Then you can decide to import into an (sqlite) database for "permanent" storage. You will need an internet connection at that moment, as related positioning info is collected using the google api. From the data in the database, you can create a KML file for a certain time period. The file can be loaded in Marble on the device, but the best result can be seen in for example google earth. If there is interest, I could try to contact Saturn, the original developer. If not, we leave things as they are :) |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Your call effort-wise of course. But surely loc stuff aside, this is so much a duplication of cellnet-info?
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Seriously though, I can't imagine why you would ever think about putting your contribution to drawer and never release it. Some really nice ideas you got there. Out of curiosity: why "best results would be achieved using, fort example, Google Earth", as opposed to Marble on-device? Shouldn't accuracy be exactly the same (low)? /Estel |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Wow,that sounds great. I'd just installed this program but it's only 1.9. Could you please push the 2.7 package to the repo?
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Quote:
Quote:
I will send Saturn a pm shortly to see where to go next. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
This is great news!! I've answered to Ade's PM and hopefully we make a release soon. I haven't seen the code yet but from the screenshot he posted looks like he completed all todos and added a couple of features more! |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Uploaded new version 2.8-1 in extras-devel.
This is a combined version of the changes ade made (ver. 2.8-0) on top of the previous unreleased version (ver. 2.7-2). Many thanks to ade for making this happen. Changelog: Changes in ver. 2.7-2
Changes in ver. 2.8-0
This is a preliminary version and (in the next couple of weeks) one more will come with cleanups, some last features missing and better credits for ade's work. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
A few changes got lost. One of them is that you can't de-duplicate/clear the log. To fix that for now:
Code:
root |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Good to know it was never working on my release! While checking on this, I realise that moving the log data to the .config folder it might not be ideal from the security point of view at least. Now they are accessible by all. If you don't have an objection, in the next version I will move it and protect it to need root privileges for viewing or modification. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Quote:
If you want root access only (log/db), I am afraid snuggle itself needs to be running using root for viewing/modifying, unless you have another solution for that. Of course I have no objections if you can do it in a transparent way. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
I think it needs this too: Code:
chown -R user:users /home/user/.config/snuggle Quote:
I don't mind the re-location but the access. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Just uploaded version 2.8-2 in extras-devel.
Hope it fixes the clean-up and removal of the logfile actions. Sorry for this, I missed some configuration settings that ade had in the files. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
There may still be permission errors. I had to chown ~/users/.config/snuggle to user:users for it to work. Was that legacy setting from previous install - perhaps? Did a purge before re-installing but that of course will leave non-empty folders... Will test again.
Secondly, de-duplicating will not work because it asks for a "yes" to overwrite, as seen in terminal. Thirdly, for user friendliness the kml file should IMO be saved somewhere other than a hidden folder. Thanks for this versions to both. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
No need to test again, I reviewed my shell history :-) I deleted all snuggle related folders after purging, so the install was clean and thus permission errors persist.
One question: if there is no wifi or data connection, will the cell info be stored and the location determined later when internet access becomes available? |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
Could you please clarify if you have been testing the 2.8-1 or 2.8-2 version? |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Ah, sorry - the obvious and necessary forgotten: latest 2.8-2.
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Just uploaded version 2.8-3 in extras-devel.
This is the second try to fix my mess with the privileges. Those who test, please report if it works for you too. Changes: * Added creation and setup of the logging folder at installation script. * Corrections in the postrm script to use busybox ps command. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
It works like this: celltower changes are collected by the daemon continuously, without using wifi or a data connection. When you choose "import in db", an internet connection is needed to find the related coordinates. Snuggle will report if an internet connection is missing during import. Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
IMO it must be a folder readily accessible to the stock file-manager and other progs like marble that can display .kml, so MyDocs? Yes, you, I and most reading here can cope but there are others..... |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
What I had to do:
apt-get install --reinstall snuggle and even apt-get purge snuggle left the .snuggle folder as user:root, so I deleted them manually after removal rm -fr /home/user/.snuggle rm -fr /home/user/.config/snuggle apt-get install snuggle The location of that csv file is hmm, I would say 90/10. It is really private information so I would like to keep it on hidden folder (maybe change again to /home/user/.snuggle owned by root? so it is separated from config files?) and file owned by root. Easier acces would of course be on MyDocs (iStyle)... |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
/Estel |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
No.
I was talking about the log (csv) and the database (db) itself, which may contain a full location spy. The kml is an on-user action generated file, so this might go to MyDocs/snuggles. But above mentioned I would like to have at least owned by root (in /home/user/.snuggle). -- but maybe I am just a bit too alerted :) As anybody could also use snuggle itself to fetch that data from root-owned file, right? ;) So Saturn (and ade) whatever you will do: thanks for that proggie! -- privacy: I just remembered that the cbs-operator-name applet did similar (speaking of the logging cell tower info into a plain txt file in /home/user). I personally disabled it (as well as syslog: too many write accesses to mmc), but it contained also priva |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Hello
I installed Snuggle and updated it to the latest version, but both versions seem to give warning with hildon banner when enabling the coordinate function: Warning : Could not get valid responce from the MMAP API!!! I noticed that someone else asked this in year 2012, but never got answer. Is this location specific, because nobody else is reporting this (I'm in Finland) or am I missing some package or library from my system? Here is the cell-info from the mainpage: Cell: 6998132 LAC 141 MCC 244 MNC 12 |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
As Saturn (or was it ade?) said earlier, the cell tower database is far from being complete.
So I guess your cell is just not yet known. At least I could reproduce that message with your cell info and internet access (and same message without inet). |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
|
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
BUG: it appears that the "disable at boot" button does not register. No error appears when app started from CLI, so I wonder if it is a place holder for the mo'.
I like this application..... |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
If Saturn is not interested in this part, I will address it. |
Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
Quote:
I did already implement it (together with a couple more small stuff) during the weekend but haven't released it yet. I did also some testing and there are a few things that i don't like. - I would like to implement a notification when the locationGetter is working. ATM, when it interrogates google for the location the application look like it is frozen. - I have tried with a file I collected a year ago when on holidays for a week. It took something like 5-10 minutes to complete and really didn't know at what stage it was. Before I was doing this in the command line and I could see each query and it's result. I think in a future version I will make it to launch a new window and see the same results. - I would like to add an option to automate the push of the collected data in the database on regular intervals (and additional option to restrict it only when the wifi is available). The list is longer, but if you like to work on any of these or other ideas just let me know and i will upload the latest version. thanks, Chris |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8