Re: [mono-android] Introducing the Xamarin Mobile API Preview

2012-01-05 Thread Eric Maupin
No as not all of the platforms allow you to make a distinction between the WiFi locations and the GPS, so on platforms that do (like Android) we're hiding the details from you. The numbers you are seeing after it has lost its signal are most likely from the wifi location system, you can filter out

Re: [mono-android] Introducing the Xamarin Mobile API Preview

2012-01-04 Thread devbuzz
Thanks for the fast response Eric :) Is there anyway to tell when the GPS has lost reception after a successful fix? This is what I'm experiencing: 1) The GPS icon stops flashing indicating a fix. 2) PositionChanged fires as I would expect and all the values from PositionEventArgs.Position look

Re: [mono-android] Introducing the Xamarin Mobile API Preview

2012-01-04 Thread Eric Maupin
Hi Derek, Be sure that you also listen for Geolocator.PositionError, add a handler for that and make sure you're not getting any errors. You're correct that GetPositionAsync is for one-off requests. API Docs are available at http://betaapi.xamarin.com Check the docs for StartListening here: http:

Re: [mono-android] Introducing the Xamarin Mobile API Preview

2012-01-04 Thread devbuzz
A quick question about the geolocation API - I couldn't find any docs :) I'm grabbing GPS positions in a service using this code: geolocator = new Geolocator (this) { DesiredAccuracy = 50 }; if (!geolocator.IsGeolocationEnabled) return; geolocator.PositionChanged += gps_LocationChange

[mono-android] Introducing the Xamarin Mobile API Preview

2011-11-22 Thread Eric Maupin
With MonoTouch and Mono for Android, you can already share a huge portion of your code across iOS, Android and Windows Phone. There is, however, this middle ground of APIs that are present in all three platforms, but you can't share your code that utilizes them. You currently have to write separate