Xamarin.Native Tutorial

Xamarin.Native Tutorial

If you're starting out with Xamarin.Native, follow this tutorial to help you get up to speed!

Xamarin.Native Tutorial: Consuming WebService: Setup

Xamarin.Native Tutorial: Consuming WebService: Setup

(Click here to view the table of contents of this Xamarin.Native tutorial) Alright, let's consume a Webservice Next. We will consume a sample RESTful webservice (made using ASP.NET WebAPI) from rabbit.miaw.xyz/api. Setup Install Newtonsoft.Json First, open NuGet package manager. Install the pac

Xamarin.Native Tutorial: InvoiceJe: Entity Framework + SQLite Database: Setup

Xamarin.Native Tutorial: InvoiceJe: Entity Framework + SQLite Database: Setup

(Click here to view the table of contents of this Xamarin.Native tutorial) Alright, now we're going to implement Entity Framework + SQLite database inside our app (finally!). What will happen is that we will update our Repository class to initialize with a path to the database file. Now, since

Xamarin.Native Tutorial: InvoiceJe: DataBinding: iOS

Xamarin.Native Tutorial: InvoiceJe: DataBinding: iOS

(Click here to view the table of contents of this Xamarin.Native tutorial) Now let's go with iOS. Our tutorial will heavily refer https://developer.xamarin.com/guides/ios/user_interface/controls/tables/ Open Main.storyboard. Open the Invoices TableViewController. If you've followed from th

Xamarin.Native Tutorial: InvoiceJe: DataBinding: Android

Xamarin.Native Tutorial: InvoiceJe: DataBinding: Android

(Click here to view the table of contents of this Xamarin.Native tutorial) Now, we're going to mess around with databinding in Android. Remember the InvoicesFragment where we simply populated it with a bunch of TextViews inside a LinearLayout? We're going to change it so the page dynamically ge

Xamarin.Native Tutorial: InvoiceJe: DataBinding: Universal Windows Platform

Xamarin.Native Tutorial: InvoiceJe: DataBinding: Universal Windows Platform

(Click here to view the table of contents of this Xamarin.Native tutorial) Alright, let's do Universal Windows Platform next. We're going to build upon on top of our previous tutorials. So, we had ListView in Android and TableViewController in iOS. The counterpart in UWP is ListView as well. We

Xamarin.Native Tutorial: InvoiceJe: Databinding: Setup

Xamarin.Native Tutorial: InvoiceJe: Databinding: Setup

(Click here to view the table of contents of this Xamarin.Native tutorial) Alright, now let's go with DataBinding. We still won't make a database though. We will pick up from where we left earlier. We will use https://github.com/purrmiaw/InvoiceJeNoDatabase as our starting point (you

Xamarin.Native Tutorial: InvoiceJe: iOS

Xamarin.Native Tutorial: InvoiceJe: iOS

(Click here to view the table of contents of this Xamarin.Native tutorial) We are now going to make an iOS version of InvoiceJe. If you haven't setup your Mac yet, you'll need to set it up now or you won't be able to follow the tutorial. If you've done setting up, let's go! Open Main.storyboard

Xamarin.Native Tutorial: InvoiceJe: Android

Xamarin.Native Tutorial: InvoiceJe: Android

(Click here to view the table of contents of this Xamarin.Native tutorial) Alright, so let's start with our Android implementation. Setup But first, we need to do a bunch of setup to ensure our life in Xamarin.Native goes well. Android is notorious for throwing exceptions when we least exp

Setup Your Mac for Development with Xamarin

Setup Your Mac for Development with Xamarin

If you are building with Xamarin.iOS, you'll need to connect your Visual Studio to your Mac as the build server. If you don't connect your PC to your Mac, you can't even open the Storyboard file nor run your build on an emulator or iPhone. Here are the steps Buy/Steal a Mac if you don't have on