posted by [identity profile] celestialweasel.livejournal.com at 09:36pm on 06/12/2007
But how does it really know where you are? Is there a Java API call that returns the tower number, or what?
 
posted by [identity profile] sbisson.livejournal.com at 09:45pm on 06/12/2007
Generally it's a phone OS level function - and depending on how it's implemented it'll give you the timing offset and ID of the nearest tower.

It's known as TOA (Time Of Arrival), and can be used to give a distance from the cell tower. A more accurate (but not as common) version uses up to three cell towers to triangulate. I suspect that Google is using TOA rather than ETOA.
 
posted by [identity profile] celestialweasel.livejournal.com at 10:01pm on 06/12/2007
So is GMM a Java applet? I thought this sort of useful info was the sort of stuff that J2ME didn't let you get at.
 
posted by [identity profile] sbisson.livejournal.com at 10:16pm on 06/12/2007
It varies - on Windows Mobile it's (AFAIR) C++, and on Blackberry it's working with RIM's own Java APIs.
 
posted by [identity profile] celestialweasel.livejournal.com at 10:20pm on 06/12/2007
Ah, I see. I certainly had a Symbian app which told me the tower number (before the phone disintegrated and I decided I didn't need a 'smart' phone).

January

SunMonTueWedThuFriSat
  1 2 3 4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 
31