Top Banner
INTRODUCTION TO XAMARIN
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Xamarin介紹

INTRODUCTION TO XAMARIN

Page 2: 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

Page 3: Xamarin介紹

Silo’d Approach

Build Apps Multiple Times

• Multiple Teams

• Multiple Code Bases

• Different toolsets

Page 4: Xamarin介紹

Write Once,

Run Anywhere

Approach

Lowest

Common

Denominator

Page 5: Xamarin介紹

Xamarin + Xamarin.Forms With Xamarin.Forms:

more code-sharing, native controlsTraditional Xamarin approach

Shared UI Code

Page 6: Xamarin介紹

Xamarin’s Unique Approach

• Native User Interface

• Native Performance

• Shared code across platforms

• C# & .NET Framework

• Full API Coverage

Page 7: Xamarin介紹

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

100% API Coverage

Page 8: Xamarin介紹

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.

Page 9: Xamarin介紹

Emerging Technologies & Devices

Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!

Page 10: Xamarin介紹

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

Page 11: Xamarin介紹

Distribute Everywhere

A Xamarin app is an app, distribute it everywhere

Page 12: Xamarin介紹

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)

Page 13: Xamarin介紹

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

Page 14: Xamarin介紹

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.