I'm looking at some Location traces right now where the
Andtroid.Locations.Location object has good mLatitude and mLongitude
private values, but has seemingly garbage public Latitude and Longitude
property values

For example. the debug trace for the object is:

{Location[mProvider=network,mTime=1328528220606,mLatitude=51.4326621,mLongitude=-0.3436901,mHasAltitude=false,mAltitude=0.0,mHasSpeed=false,mSpeed=0.0,mHasBearing=false,mBearing=0.0,mHasAccuracy=true,mAccuracy=52.0,mExtras=Bundle[mParcelledData.dataSize=148]]}


...but the debug evaluation of properties yields:

    base: {Java.Lang.Object}
    Accuracy: 0
    Altitude: 1.58234427515848E-314
    Bearing: 0
    Extras: {Android.OS.Bundle}
    HasAccuracy: true
    HasAltitude: false
    HasBearing: false
    HasSpeed: false
    Latitude: 1.58234363880193E-314
    Longitude: 1.58234354789385E-314
    Provider: "network"
    Speed: 0
    Time: 1328528220606


Is there something I'm doing wrong to get the result? Is it something to do
with the provider being network rather than GPS?

Stuart
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to