Xamarin a Cross Platform App Development Technology A white paper on Fundamentals and Implementations of Xamarin Cross platform Mobile Technology
Contents Abstract... 3 Xamarin Products... 3 Part 1: Xamarin Platform (Build Mobile Apps)... 4 C# as a preferred language for Mobile App Development... 4 Native User Interfaces... 5 Share Code everywhere... 5 NuGet and Xamarin Component Store... 6 Build native ios and Android apps in Xamarin Studio and Visual Studio... 6 Part 2: Xamarin Test Cloud... 7 Part 3: Xamarin Insights... 8 Understand how users are interacting with App... 9 Integrate data... 9 2014 Optisol Business Solutions Private Limited. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose without the written permission of Optisol Business Solutions. Any hard copies of this document are to be regarded as temporary reference copies only. Xamarin Cross Platform Page 2
Abstract This white paper gives a brief overview of the app development using Xamarin. Xamarin apps look and feel native because it is a Cross Platform field service app for ios Android and Windows. This article introduces the highlights of Xamarin and its features also how dependable and feasible to adopt Xamarin as an approach for Mobile App Development. Xamarin is a cross platform Mobile App development technology. It unifies App development in C# for all major device platforms. Deliver complete native Apps (UI and Performance) Code sharing and reuse Companies can leverage existing C# skills, tools, teams and code. Achieve the broad reach device platforms and escape the Objective-C and Java dead ends. Cross Platform field service app for ios, Android and Windows 8. Build ios, Android and Windows Apps in Visual Studio. Language unification across platforms in C# and IDE unification across platforms. Xamarin Products Xamarin helps in building, testing and monitoring Apps via the following products Xamarin Platform Build Apps in C# for ios, Android and Windows Phone. Xamarin Test Cloud Automatically test your App on hundreds of mobile devices. Xamarin Insights Real Time Monitoring to improve your Apps. Img source: xamarin.com Xamarin Cross Platform Page 3
Part 1: Xamarin Platform (Build Mobile Apps) Xamarin supports in writing your Apps entirely in C# and share the same code on ios, Android, Windows, Mac and Windows. Xamarin Apps share code across all platforms. We can target for ios,, Android, Windows and Mac with a single C# codebase and use the same language, APIs and data structures on every platform. Xamarin is a Write-once, run everywhere platform. It supports native API Access and native UI. C# as a preferred language for Mobile App Development Anything you can do in Objective-C, Swift or Java, you can do in C#. Xamarin Apps are built with standard, native User Interface controls. Automatic deduction of data types, more datat types and less verbose type annotations. Asynchronous programming keeps apps responsive. Stronger types, Smarter tools First-class functions Source: xamarin.com Xamarin Cross Platform Page 4
Native User Interfaces Xamarin Apps uses native UIs on every platform to simplify App design without swapping out of IDE. Share Code everywhere Source: xamarin.com Use the same language, API and data structures to share an average of 75% of App code across all mobile development platforms. Build user interfaces with Xamarin.Forms and share nearly 100%. Source: xamarin.com Xamarin Cross Platform Page 5
Shared Projects: You may share projects (any files, images, code, and media) into the Shared Projects and make a reference to it and it will automatically be included on all platforms. Portable Class Libraries: You can use Portable Class Libraries like SQLite, Json.Net or Reactive UI on every platform. Xamarin.Forms: Xamarin.Forms comes with Xamarin Platform. From a single, shared C# codebase you can build native UIs for Android, ios, Mac and Windows. NuGet and Xamarin Component Store Finish your App faster with NuGet and the Xamarin Component Store. Component Store: Add components such as Cloud Services, Libraries, User Interface, Themes, Game Development and Prime Components to your app directly from your IDE, including controls, Web Service APIs, etc. Integrate popular backend such as Microsoft Azure, Parse, Salesforce, and SAP. Add powerful security features such as authentication and encryption. NuGet: A Visual Studio extension that helps in creating your own packages. Source: xamarin.com Build native ios and Android apps in Xamarin Studio and Visual Studio Use your favourite IDE for developing Apps for Mac, Windows, ios and Android. Xamarin Cross Platform Page 6
Xamarin Studio: Offers features like Universal Search, Contextual insights, Intelligent Refactoring, F# support, Smart Syntax Highlighting, NuGet packages and others. Visual Studio: Features such as native to the Visual Studio, IntelliSense to auto detect data types, design UIs without leaving Visual Studio few others are available. Part 2: Xamarin Test Cloud With Xamarin Test Cloud, you can automatically test the App on any device in cloud. You will have to select device based on form factor, manufacturer, operating system You can automate App using the Xamarin testing framework known as Calabash and test any ios or Android app, native or hybrid. Xamarin provides both Automation Framework and Device Cloud. Upload test suite and run it on device; you will receive a detailed report with results, screenshots, and performance metrics. Img source: xamarin.com Xamarin TestCloud supports hundreds of devices for testing the App (1143 devices precisely). Xamarin Cross Platform Page 7
Img source: xamarin.com Part 3: Xamarin Insights Xamarin Insights provides real time monitoring of the Mobile Apps to ensure the following: Real-time crash and exceptions monitoring to improve your apps. Crash and Issue Reporting: Easily monitor native and managed crashes and exceptions. Session and User Monitoring: Get to know your Users and track any event in real time. Built on.net: Experience seamless handling of.net managed exceptions. Secure and Private: Can make use of fine-grained control and top grade security measures. Developers will be able to prioritize their crash list, see the exact users each crash is impacting, and what sequence of actions preceded the crash. This is made possible by the algorithm used by the Xamarin Insights to rank issues according to User impact and reach. Img Source: xamarin.com Xamarin Cross Platform Page 8
Understand how users are interacting with App Easily see who s online, which devices they are using, what issues they have experienced, where they are from and which activities they have used in sessions. Be more prepared than ever when communication about issues, crashes, updates and fixes. Integrate data Img source: xamarin.com Connect your App to a variety of external Services and be notified when a new issue is opened, an issue is occuring repeatedly in a small amount of time, or an issue s status is changed. Img source: xamarin.com Xamarin Cross Platform Page 9
About Optisol Business Solutions Optisol is proficient service provider for Social, Mobile, Analytics and Cloud solutions and focusing on building innovation for our clients in more than 20 countries. With 90+ smart employees, we act as the reliable outsourcing services partner, providing optimized business solutions with delivery excellence to both small and medium enterprises worldwide. Through our services on Consulting, Solutions, Mobility, Cloud Computing and Big Data, we assist our clients to transform and thrive in a changing world. About Optisol Business Solutions We are equipped with creative engagement models and operations framework that suits outsourcing needs from all gamut of customers startup, Independent Software Vendor (ISV), small or mid-size companies and Enterprises. It has been serving its customer base across breadth and width of technology outsourcing needs that spans across Communicate with us #87/4, Arcot Road, Vadapalani, Chennai - 600026, Tamilnadu, India Phone: +91 44 42136061 (India) +1415-233-4737 +1908-838-0191 (USA) info@optisolbusiness.com www.optisolbusiness.com Xamarin Cross Platform Page 10