Open GoogleCodeExporter opened 8 years ago
oh, sorry for the duplicate. I searched for WiFi, not Wi-Fi ... %-}
Original comment by aj.hubm...@gmail.com
on 13 Jan 2014 at 7:50
For wifi see #188.
Mobile base stations are a bit trickier as phones occasionally move to a different base station even when they are stationary (the carrier may initiate this to prevent overload of a particular cell). Also, the base station may change if the phone switches between 2G/3G/4G, which may happen when entering buildings.
To make matters worse: 3G/4G don’t ever give you the full address of any other cell than the one you’re currently connected to (neighboring cells are identified by a scrambling code, which is unique only in its immediate neighborhood). With 2G you might get neighboring cells, but not all phones expose that information through their API (Samsung phones are notorious for not doing so).
My concern is that it’s difficult to get an exhaustive list of all base stations serving a particular location, (in addition to UI design being really tricky) and an incomplete list will mean the event will not fire reliably.
Looking at the cell ID format, GSM-like networks (EDGE, UMTS and LTE) have roughly the following address format:
An alternative would be to use just the country-network-location triplet, sans the cell ID. That has fewer options IDs to track, but has the following implications:
Conclusion: Cell ID is hard to get right (for the user); location code is less granular (down to a city or part of a larger city) and still not trivial to get right.
Original issue reported on code.google.com by
aj.hubm...@gmail.com
on 13 Jan 2014 at 7:47