Re: [mono-android] 4.0 RequestLocationUpdates crash

2012-01-13 Thread Jonathan Pryor
On Dec 21, 2011, at 9:47 AM, Stuart Johnson wrote: > Log cat output: > I/MonoDroid(13081): UNHANDLED EXCEPTION: Java.Lang.NullPointerException: > Exception of type 'Java.Lang.NullPointerException' was thrown. > I/MonoDroid(13081): at Android.Runtime.JNIEnv.CallStaticObjectMethod > (intptr,intptr,

Re: [mono-android] 4.0 RequestLocationUpdates crash

2011-12-21 Thread Stuart Johnson
Log cat output: I/ActivityThread(13081): Pub MyApp.MyApp.__mono_init__: mono.MonoRuntimeProvider D/dalvikvm(13081): Trying to load lib /data/data/MyApp.MyApp/lib/libmonodroid.so 0x405136a8 D/dalvikvm(13081): Added shared lib /data/data/MyApp.MyApp/lib/libmonodroid.so

[mono-android] 4.0 RequestLocationUpdates crash

2011-12-21 Thread Stuart Johnson
Since updating to V4.0, my app crashes when I call RequestLocationUpdates LocationManager _locationManager = (LocationManager)turboService.GetSystemService(Context.LocationService); _locationManager.RequestLocationUpdates(LocationManager.GpsProvider, 1000, 100, this); Any ideas? __