Getting Started with Xamarin Apps

When considering how to build iOS and Android applications, many people think that the native languages, Objective-C, Swift, and Java, are the only choice. However, over the past few years, an entire new ecosystem of platforms for building mobile applications has emerged.

Xamarin is unique in this space by offering a single language – C#, class library, and runtime that works across all three mobile platforms of iOS, Android, and Windows Phone (Windows Phone’s native language is already C#), while still compiling native (non-interpreted) applications that are performing well enough even for demanding games.

7NfISSiVrncNyD (1)

Testing Your Apps

If you do not have a device that you can use for testing, you will need to use an emulator and run your applications in the test environment.SJXUroJDAA4O26 (1)

Xamarin Android Player

The Xamarin Android Player relies on virtualization and OpenGL. This means that it cannot run inside virtual machine instances nor can it work over Remote Desktop or VNC. Further system requirements can be found in the guide linked below.

The Xamarin Android Player was developed to provide a superb simulator that will allow developers to concentrate on creating great applications and see them in action as quickly as possible without having to worry about hardware deployment. Here is the installation guide: https://developer.xamarin.com/guides/android/getting_started/installation/android-player/

Testing iOS Apps

Xamarin mobile applications can be deployed to physical devices via USB for testing and debugging (Xamarin.Mac apps can be tested directly on the development computer; Apple Watch apps are deployed first to the paired iPhone). You will need to be sure that your device is setup for development if you wish to test on it. Here is the guide that can help you get started: https://developer.xamarin.com/guides/ios/getting_started/installation/device_provisioning/

jfmavsirfDZev5 (1)

I know that the different requirements for testing your applications can be tricky so you can check out the guide here for more help: https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/

Don’t be afraid to ask if you have the right setup!

iOS Development Requirements

iOS development with Xamarin requires:

  • A Mac running OS X Yosemite (10.10) or above.
  • Latest version of Xcode and iOS SDK installed from the App Store .

Xamarin.iOS works with any of the following setups:

  • Latest version of Xamarin Studio on a Mac that fits the above specifications.
  • Latest version of Visual Studio Professional or higher on Windows 7 or above, paired with a Mac build host that fits the above specifications. This setup requires a Xamarin Business License or trial.

The Xamarin.iOS OS X Installation guide is available for step-by-step installation instructions

Now that you understand the Xamarin environment and what you need to get started, let’s check out the videos!

 iOS App Development – https://www.youtube.com/watch?v=s9qUVVGXb1I

Android App Development – https://www.youtube.com/watch?v=sJyW_ykTM_c

Leave a Reply

Your email address will not be published. Required fields are marked *