Xamarin.Forms Served Hot With Caffeine
XAMARIN
Xamarin.Forms Served Hot With Caffeine
For several years, developers have dreamt of being able to write their applications in a single language and have it run on various mobile platforms. The thought of "Why go for one, when you can have it all?" has always intrigued them.
Finally, one fine day, our developer friends at Xamarin Headquarters, San Francisco, CA fulfilled this dream with Xamarin.Forms, the dynamic cross-platform software that simplifies mobile development by allowing developers to write once in C# and provide a native experience in Android, iOS and Windows Phone using the same API across all platforms.
Requirements
Finally, one fine day, our developer friends at Xamarin Headquarters, San Francisco, CA fulfilled this dream with Xamarin.Forms, the dynamic cross-platform software that simplifies mobile development by allowing developers to write once in C# and provide a native experience in Android, iOS and Windows Phone using the same API across all platforms.
Requirements
- Xamarin Platform 3 or higher
- Xamarin Forms 1 or higher
- Windows 7 or higher
- XCode 5
- Xamarin Studio 5
- Visual Studio 2012 or higher
Compatible Devices
- Android 4.0 or higher
- OS 7.0 or higher
- Windows Phone 8 or higher
Xamarin served hot with caffeine will act as a prolog to your perfect cross-platform app development story. While the release of Xamarin 3 brought smiles to the face of developers with the introduction of Xamarin.Forms, I am sure that the updates will bring contentment in developers.
I will now quickly walk you through the procedure to make an environment ready for the experience.
Installing Xamarin Studio
Step 1
The first step will be downloading the Xamarin unified installer.
Step 2
The second step will be to run the Xamarin Installer.
Step 3Once we are done installing Xamarin in both systems, Windows as well as Mac, we need to activate Xamarin on both systems.
Step 4Once you log in, you can choose if you want to begin a trial or purchase a license. If you begin a trial and activate Xamarin, you can see how many days of the trial you have left at any point:
Creating an application
Step 1To create a new application in Visual Studio we will select New Project from the welcome screen.
Step 2
Select Mobile Apps from the installed templates of Visual Studio under C#.
Step 3
Now as you can see we have two options for a Blank App, one is Xamarin.Forms Portable and Xamarin.Forms Shared.
Xamarin.Forms Portable: Shares the code using a Portable Class Library.
Xamarin.Forms Shared: Shares the code using a shared assets project.
We will be working on Xamarin.Forms Portable.
Step 4
I will now quickly walk you through the procedure to make an environment ready for the experience.
Installing Xamarin Studio
Step 1
The first step will be downloading the Xamarin unified installer.
Step 2
The second step will be to run the Xamarin Installer.
Step 3Once we are done installing Xamarin in both systems, Windows as well as Mac, we need to activate Xamarin on both systems.
Step 4Once you log in, you can choose if you want to begin a trial or purchase a license. If you begin a trial and activate Xamarin, you can see how many days of the trial you have left at any point:
Creating an application
Step 1To create a new application in Visual Studio we will select New Project from the welcome screen.
Step 2
Select Mobile Apps from the installed templates of Visual Studio under C#.
Step 3
Now as you can see we have two options for a Blank App, one is Xamarin.Forms Portable and Xamarin.Forms Shared.
Xamarin.Forms Portable: Shares the code using a Portable Class Library.
Xamarin.Forms Shared: Shares the code using a shared assets project.
We will be working on Xamarin.Forms Portable.
Step 4
Now you can see that the solution file contains the 4 projects XamarinSample (Portable), XamarinSample.Android, XamarinSample.iOS and XamarinSample.WinPhone.
Deploying an Application
Step 1Right-click on the project that you want to deploy and select "Set as StartUp Project".
Step 2
If you want to deploy on a Windows Phone, choose the Device/Emulator from the first drop down.
Choose iPhone/iPhoneSimulator from the second drop down and the device from the third drop down if you want to deploy on an iPhone:
For deployment on Android, choose the device from the fourth drop down:
Step 3
Now click the
button to deploy the application. You will see this as the output screen on the device you opted for:
Now, we are all set to develop some awesome apps on our beloved IDE. I hope the exhilaration is mutual. ;)
Let's wait for more awesome bits on Xamarin.Forms this year. Until then, grab your coffee mugs and start developing awesome cross-platform apps in C#.
AGRSOFT:http://agrsoft.azurewebsites.net
Deploying an Application
Step 1Right-click on the project that you want to deploy and select "Set as StartUp Project".
Step 2
If you want to deploy on a Windows Phone, choose the Device/Emulator from the first drop down.
Choose iPhone/iPhoneSimulator from the second drop down and the device from the third drop down if you want to deploy on an iPhone:
For deployment on Android, choose the device from the fourth drop down:
Step 3
Now click the
button to deploy the application. You will see this as the output screen on the device you opted for:Now, we are all set to develop some awesome apps on our beloved IDE. I hope the exhilaration is mutual. ;)
Let's wait for more awesome bits on Xamarin.Forms this year. Until then, grab your coffee mugs and start developing awesome cross-platform apps in C#.
AGRSOFT:http://agrsoft.azurewebsites.net
Xamarin.Forms Served Hot With Caffeine
Reviewed by Unknown
on
8:31 PM
Rating:
Reviewed by Unknown
on
8:31 PM
Rating:












No comments:
Thanks