Local Databases in Android and iOS through Xamarin
+17.15.31.png)
Hi everybody, today I’m going to teach you how to use, create and manage Local DB in Android and iOS through Xamarin, first of all, we need: Xamarin(with all the developer tools) Mac (if you want to program in iOS) Droiddraw Now, well we need the diagram of the DB, I’m going to create a simple DB with 1 table; this will be the diagram: table1 id int PRIMARY KEY AUTO_INCREMENT field_1 varchar(50) field_2 double --> We can see that this is a simple DB, but for now it will work. Well now it's programming time, so we'll follow the next steps: Create the interface, for this we can use droiddraw for android VIEW XML <?xml version="1.0" encoding="utf-8"?> <AbsoluteLayout android:id="@+id/widget0" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/and...