openbmap / radiocells-nlp-android

radiocells.org Unified Network Location Provider
https://radiocells.org
Other
41 stars 13 forks source link

README.md is missing #20

Closed gdt closed 8 years ago

gdt commented 8 years ago

I have a lot of questions which aren't answered in the missing README.md :-)

wish7code commented 8 years ago

Are they competive?

Not at all! We completely rely on the UnifiedNLP framework to 'feed' location upstream into Android OS.

One of the unique point of openbmap geolocation provider is the offline mode. You save the geolocation database on your devices (worlwide coverage ~1GB) and you're completely independent from the internet.

1GB is quite heavy for some folks, so we also provide an online mode. In online mode the device sends visible cells and wifi bssids to the server, which in turn provides the estimated location.

Please keep in mind, that for technical reasons, you'll have to activate the offline mode manually. Simple reason: we can't distribute the 1 GB file via F-Droid ;-)

There're some limitations in the UnifiedNLP framework: it definitely works on rooted devices without GAPPS installed. There've also been attempts to use GAPPS and UnifiedNLP side-by-side, but as far as I know it doesn't work (see https://github.com/Rawi01/XposedUnifiedNlp/issues/2)

Unfortunately I guess this is Android OS specific :-( To my knowledge your device caches this locations, not UnifiedNLP or the modules. Having said that, at least I think the location isn't send somewhere, it's just a local copy of a previous request that is returned.

Let me know, whether this helps Cheers

Toby

gdt commented 8 years ago

Yes, that helps. Putting it in README would be great. I can explain some of my confusion now (which may have puzzled you): I have been trying to figure out all the pieces in this world, and unifiedNlpProvider.git looked to me like android_packages_apps_UnifiedNlp.git. Now that you point it out, "Provider" is obvious, but I failed to understand it. Obviously you should not change the name for me, but I expected org.foo.bar to have a bar component that was fully descriptive, instead of having to be interpreted in the context of bar. In other words, this isn't org.openbmap.UnifiedNlpOpenBmapProvider.

I withdraw my questions about rooted/unrooted and last known location. Those are about UnifiedNlp, not your provider, and I asked them because I thought this was a fork of the umbrella code.

My security question stands. While I get the big-picture point and applaud it, I found that the openbmap provider defaulted to online (instead of that having to be an explicit choice) and it seemed to flip back to online when you lost the database (instead of failing safe).

I'm glad there is no fork here. Thanks for taking the time to straighten me out.

gdt commented 8 years ago

Thanks for documenting the lack of storing anything. The only remaining thing to add is if the lookups are https. I think they aren't so far. Then I'm content for this ticket to be closed.

gdt commented 8 years ago

I see the README says that lookups are over https and no logs are kept - which is the right answer :-)