Matthew Bafford's Musings

Android Location Cache - Exploring my own phone

Off of the recent "iOS caches your every location, OMG" hubub...

Android has a cache, too, although it's limited to only 50 points for cell locations and 200 for wifi locations:
http://netmite.com/android/mydroid/frameworks/base/location/java/com/android/internal/location/LocationCache.java
// Cache sizes
private static final int MAX_CELL_RECORDS = 50; 
private static final int MAX_WIFI_RECORDS = 200;

So I used the following tool on my own phone:
I probably should have plotted these as points and not lines...
Cell (data ranges from 2011-04-10T21:16:03.633000Z to 2011-04-21T20:31:08.418000Z):
20110422_083052_selection_001
Wifi (data ranges from 2011-04-20T23:47:34.541000Z to 2011-04-21T20:31:08.418000Z):
20110422_083205_selection_001
Wifi zoomed around my general area - most of these are right, although I haven't been outside of the Herndon/Reston area in the past couple of days:
20110422_083311_selection_001
Wifi around my house -
20110422_082730_selection_001
Wifi around where I biked yesterday -
20110422_082753_selection_001

Filed under  //   android   maps