I totally forgot a frustrating detail about showing 3D buildings in iOS 7 : it doesn't work in the simulator! You have to use a hardware device!
read moreUIWebView.SetCenterCoordinate is asynchronous
You cannot rely on the value of
UIWebView.CenterCoordinate
after settingUIWebView.SetCenterCoordinate
and I don't know of any event that is raised when it is finally set. To be more specific:read morevar map = new MKMapView(); var ctr = new CLLocationCoordinate2D(37.8, -122.4); map.SetCenterCoordinate(ctr, false); map.SetRegion …
Cross-Platform Mobile Architectural Patterns
This post contains links and references to subjects discussed in my MonkeySpace 2013 talk.
Naturally, the talk was grounded in Xamarin Studio.
Xamarin's Field Service App is a reference implementation for cross-platform MVVM.
The Xamarin DCI example source code can be found here.
Essential books on software-architectural patterns:
read moreAccessing the Android Barometer using Xamarin.Android
Easily:
read more< ![CDATA[ [Activity (Label = "HelloBarometer", MainLauncher = true)] public class Activity1 : Activity, ISensorEventListener { TextView mainLabel; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); //Detect the barometer var sm = (SensorManager) this.GetSystemService(Context.SensorService); var barry = sm.GetDefaultSensor(SensorType …
Page 1 / 1