14
INTRODUCTION TO XAMARIN

Xamarin介紹

Embed Size (px)

Citation preview

INTRODUCTION TO XAMARIN

What is Xamarin?• Xamarin enables developers to reach all major mobile platforms!

Native User Interface

Native Performance

Shared Code Across Platforms

C# & .NET Framework

Silo’d Approach

Build Apps Multiple Times

• Multiple Teams

• Multiple Code Bases

• Different toolsets

Write Once,

Run Anywhere

Approach

Lowest

Common

Denominator

Xamarin + Xamarin.Forms With Xamarin.Forms:

more code-sharing, native controlsTraditional Xamarin approach

Shared UI Code

Xamarin’s Unique Approach

• Native User Interface

• Native Performance

• Shared code across platforms

• C# & .NET Framework

• Full API Coverage

Anything you can do in Objective-C or Java can be done in C# and Visual Studio with Xamarin!

100% API Coverage

Xamarin.iOS does full Ahead Of Time

(AOT) compilation to produce an

ARM binary for Apple’s App Store.

Native Performance

Xamarin.Android takes advantage

of Just In Time (JIT) compilation on

the Android device.

Emerging Technologies & Devices

Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!

Code Sharing: Accelerate Development

Code-sharing stats from iCircuit, built with Xamarin and featured on the App Store.

Source: http://praeclarum.org/post/42378027611/icircuit-code-reuse-part-cinq

• Up to 90% Code Reuse

• Leverage existing libraries

NuGet Support

Distribute Everywhere

A Xamarin app is an app, distribute it everywhere

2015 Evaluate Result

• Reuse Code Cross Platform (OK)

• MVVM Pattern (OK)

• Reuse Java Library for Chunghwa’s en/decryption certificate (OK)

• NFC (OK)

• Nuget for “Share Library” version management (OK)

Android Design Pattern

• MPV/MVVM Robo Binding: Android MVC Pattern

• Dagger Framework: Dependency injection, information transfer

between intent, dynamic object factory…

• OTTO Framework: Schedule, asynchronous task execution…

• Retrofit Framework: Network communication, URL/Body

manipulation, content processing…

• Android L Framework : Materialize Design

• ……(And you have to consider correspond app architecture of iOS)

All Out of Box in Xamarin/C# Package

Q&A

• Version comparison

https://store.xamarin.com/

• Can I continue to use after annual subscription expires?

Yes. License is perpetual. If not to renew, you will no longer have

access to new releases and support.

• Pricing?

$999/year for Business version (per developer,per device

platform)

$ 1798.2 for iOS/Android 1 developer in 1 Year.