Samsung S21+. GPSTest shows L1 and L5. Using Visual Studio 2020, Maui (C#), Wrote app using Maui.essentials. Did Best, High, Medium, Low, Lowest. Here is code...
-------------------------------------------------------------
private void OnButtonClicked(object sender, EventArgs e)
{
GetLocBest();
GetLocHigh();
GetLocMedium();
GetLocLow();
GetLocLowest();
}
async void GetLocBest()
{
try
{
var request = new GeolocationRequest(GeolocationAccuracy.Best, TimeSpan.FromSeconds(10));
cts = new CancellationTokenSource();
var location1 = await Geolocation.GetLocationAsync(request, cts.Token);
if (location1 != null)
{
BestLatLongLabel.Text = "Best = Lat: " + location1.Latitude + " / Long: " + location1.Longitude;
}
}
-------------------------------------------------------
Did all 5 calls, one after the other, standing in the same spot. All five beginning values were the same (42. \ -71), but did change in the last four digits.
I did your accuracy test, it showed 42.8176600\=71.1517012. My app (exact same spot), showed 42.817787236.
Is there a way to determine if my app is using L1 or L5?
Is there any point in trying to specify the accuracy of the call to GeoLocation, in that they all return the same values?
Is there a way to determine if the phone ( my app (what is GPSTest using)), is using the phones magnetometer, or L1\L5, from the satellites?
And finally (using the example of trying to walk a property line), because the the not so accurate results from the phone (5 Meters plus\minus?) would it be more accurate to use a hand held compass?