Since Installing Lion my very simple location text application no longer
works in the simulator. he code is as follows:-
locationManager = new MonoTouch.CoreLocation.CLLocationManager();
if (CLLocationManager.LocationServicesEnabled)
{
// Register the events we want to listen for
locationManager.UpdatedLocation += (object
sender,
CLLocationUpdatedEventArgs e) =>{
Console.WriteLine("Updated Location
Event Fired.");
lblDistance.Text =
e.NewLocation.Coordinate.Latitude.ToString() + " , "
+ e.NewLocation.Coordinate.Longitude.ToString();
};
locationManager.StartUpdatingLocation();
}
This now does not update the Location and I can see that this is erroring in
the Application Output when it instantiates the locationManager with:-
bootstrap_look_up failed (44e)
Anyone got any ides on this ?
Thanks
Greg
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Post-Lion-CoreLocation-Not-Working-tp3697905p3697905.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch