phonegap/phonegap-android — Issue #266: aggressive cache of geolocation, undefined in Geoposition obj
Author: brianleroux
Created: 2011-10-13 13:54:08+00:00
State: open

geolocation only drawing from cache (using mwbrooks/phonegap-kitchen-sink)

logcat output below.

D/androidNetworkLocationListeners( 217): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@40556860
D/PhoneGapLog( 2865): undefined: Line 20 : [object Geoposition]
I/Web Console( 2865): [object Geoposition] at undefined:20
D/WifiLocator( 217): Good cache hits. Computing WiFi location locally hasLocation=11 noLocation=0 cacheMiss=5
D/WifiLocator( 217): Computing location using MaxLre.
D/WifiLocator( 217): Finished computing WiFi location: WifiLocationResult [position=Position [redacted], confidence=80, outliers=[]]
D/CellLocator( 217): Found cell location: Position [redacted]
D/androidNlpServiceThread( 217): reporting Location[mProvider=network,mTime=1318513914870,mLatitude=56.1713912,mLongitude=10.2012154,mHasAltitude=false,mAltitude=0.0,mHasSpeed=false,mSpeed=0.0,mHasBearing=false,mBearing=0.0,mHasAccuracy=true,mAccuracy=32.0,mExtras=Bundle[{networkLocationSource=cached, networkLocationType=wifi}]]
D/ClientReporter( 217): reported location
D/dalvikvm( 217): GC_CONCURRENT freed 836K, 49% free 3731K/7175K, external 1625K/2137K, paused 2ms+2ms
D/dalvikvm( 1628): GC_CONCURRENT freed 898K, 47% free 3897K/7303K, external 1625K/2137K, paused 2ms+2ms
D/dalvikvm( 191): GC_EXPLICIT freed 105K, 45% free 3368K/6087K, external 6757K/7627K, paused 84ms
D/dalvikvm( 640): GC_EXPLICIT freed 1241K, 35% free 10987K/16711K, external 3727K/4654K, paused 113ms
D/dalvikvm( 1628): GC_EXPLICIT freed 114K, 48% free 3863K/7303K, external 1625K/2137K, paused