Help needed with GSM Geolocation without GPS

Neil Jerram neil at
Tue Nov 6 19:52:22 CET 2012

robin <spielraum at> writes:

>> Sounds good.  I wonder what the trade-off is between implementing
>> something like this from scratch for GTA04, and trying to integrate an
>> existing partial solution such as GeoClue?
> hi neil,
> as far as I understand geoclue comprises a communication between a provider
> and your phone, so that would mean data transfer via the modem. This would
> certainly be one solution, but it would be nice if the user could choose 
> between:
> a) GSM -> Provider -> Location
> b) GSM -> offline database -> Location (saves money and battery(?))
> I don't know if geoclue can be easily extended to use the cells.txt.gz file 
> as an alternative input. That would be nice, because then one could actually
> choose between a) and b).

Last time I looked, my impression was that the geoclue architecture
should support offline - but I'm not sure.

> Could you point me in the right direction on how to extract the cell and
> neighbouring cell ids/signal strengths in qtmoko.

I believe the code that sources this information is
src/libraries/qtopiaphone/qnetworkregistration.cpp: look for the lines
in that file that say "emit locationChanged".


More information about the community mailing list