When trying to run the demos from Chapter 28 on an Android emulator in Visual Studio 17, I get these 2 problems:
WhereAmI.Droid:
public void StartTracking() {
IList locationProviders = locationManager.AllProviders;
foreach (string locationProvider in locationProviders) {
//error occurs here (locationProvider = "passive")
locationManager.RequestLocationUpdates(locationProvider, 1000, 1, this);
}
and
MapDemos.Droid: when I set IsShowingUser to true
When trying to run the demos from Chapter 28 on an Android emulator in Visual Studio 17, I get these 2 problems: WhereAmI.Droid: public void StartTracking() { IList locationProviders = locationManager.AllProviders;
foreach (string locationProvider in locationProviders) {
//error occurs here (locationProvider = "passive")
locationManager.RequestLocationUpdates(locationProvider, 1000, 1, this);
}
and MapDemos.Droid: when I set IsShowingUser to true