Sample Code using Xamarin for Android and iOS