Xamarin Application Development

Xamarin is cross-platform development software that simplifies mobile application creation. Xamarin tools are used to write native Android, iOS, and Windows apps with native user interfaces and share code across multiple platforms including Windows and macOS.

xamarin

Here, I am going to explain how to create Xamarin app with Xamarin Studio and my experience with Xamarin as a Unity developer.

Requirements to develop a Mac OS X application with Xamarin.Mac:

  • A Mac computer running Mac OS X Yosemite (10.10) or greater
  • Xcode 7 and above versions (although it is recommended to install the latest stable version from the App Store)
  • Latest version of Xamarin.Mac and Xamarin Studio

To edit your first XAML file, use Visual Studio or Xamarin Studio to create a new Xamarin.Forms solution.

  • In Xamarin Studio, select File > New Solution from the menu

xamarin

  • In the New Solution dialog, select Cross Platform > App at the left
  • Select Blank Xamarin.Forms App from the template list

4

Blank Forms is the standard template with three projects: iOS, Android and third project (the shared user interface can be built with XAML or C#).

  • Configure your blank form app – Add app name, Organisation Identifier, Target Platform, and Shared Code

 xamarin

 

  • Configure your new Blank Forms App – Enter Project Name, Solution Name, and Location and save the project
  • Click the Create button

xamarin 

Now, Xamarin Studio will create the new Xamarin app.

My Experience with Xamarin

As a unity developer, I would recommend Xamarin is good for 2D applications. However, we need strong knowledge about XAML and basic coding understanding. I have used XAML for UI designing and C# for the functionalities of the application and developed a small demo project during my research. My application contains few screens (Login and Registration screens) which basically include Navigation functionality and UI designing.

Major things to take care before developing Xamarin application is to have basic knowledge about

  • XAML
  • How to use the layout and in which cases to use it?
  • Configuration of Android and IOS

In Xamarin, Navigation of the screen is simpler as compared to Unity 3D as there is less usage of animation. I resolved UI designing issues by using proper layouts. There are different types of layout in XAML such as Relative, Absolute layout, etc. I would suggest using relative layout for Applications which includes both horizontal and vertical element alignment.

Challenges in Xamarin App Development

Xamarin is a bit time consuming when it comes to UI designing of the screens because everything is based on the XAML (Coding) which is one of the drawbacks for the Xamarin learners. Also, we need unique UI code for each platform since the native widgets interact differently. This creates minors alignment issues and UI element size issues.

One of the drawbacks is debugging of crash logs, which is very complicated in mac.

Conclusion

With Xamarin, expect a native user experience in the development. With the help of native API’s, Xamarin helps in developing excellent user experience and user interface and also delivers high-performance apps.

From the user’s perspective, an app development that can create apps that ‘fit’ the standard design guidelines on different platforms and doesn’t allow the use of native UI controllers brings about the best user experience. This is something Xamarin development can guarantee.

Thinking of just creating a mobile app that goes from one screen to another, using menu buttons, I feel Xamarin is a better option to do so. You can develop an entire application, but not the graphics that are presented. Xamarin has Cross-platform support and it has its own bugs.

Well, in my opinion, Xamarin is pretty good for 2D applications. Depending on the project and requirements, I would be happy to use Xamarin but there may be other situations in which I really think Unity3D will be a better choice.

FacebookTwitterGoogle+Share
About Shraddha Shrikant Pote

Shraddha is an Associate Software Engineer at Vmoksha Technologies. She is not only passionate about playing games and also adore to develop them leveraging new technologies in the market. She loves Travelling, Painting, and Music.



One comment on “Xamarin Application Development

  1. Rajarshi

    Looking for support to develop App in Xamarin

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>