Posts

Showing posts with the label Xamarin Studio

Xamarin.Forms Walkthrough 2: The Curious Case of Code Sharing

Image
In this walk through we will discuss the detailed structure and concepts of code sharing in Xamarin.Forms. Before going into this article it will be good and helpful if you go through the following article to get into the flow of Xamarin. Xamarin.Forms Walkthrough 1 : Getting started with Xamarin Only by having a deep knowledge in Xamarin will help you to maximize your ability to share code. When we start to create a cross-platform project we will get a N+1 projects under a solution, where N represents the number of platforms you are targeting and the extra project will carry the code which will be shared across all your platforms. Before going further you must be aware of the .NET frameworks used in Xamarin. The versions of the .NET Framework that are used in Xamarin.iOS, Xamarin.Android, and Windows Phone are not full versions of the .NET Framework. They are smaller subsets designed to work more efficiently on mobile platforms. When we start to share code using Xamarin.F...

Face Detection In Xamarin.Android

Image
First we can create our main layout having a button to take picture using camera and name it as: Main.axml <? xml   version = "1.0"   encoding = "utf-8" ?>    < LinearLayout   xmlns:android = "http://schemas.android.com/apk/res/android"         android:orientation = "vertical"         android:layout_width = "fill_parent"         android:layout_height = "match_parent"         android:padding = "10dip" >         < TextView             android:layout_width = "fill_parent"             android:layout_height = "wrap_content"             android:text = "Click Take a Picture button"       ...