java para dispositivos móveisapm/cm/docs/14introxamarin.pdf · intro to xamarin 7 xamarin.ios does...

13
Architecture Tools Intro to Xamarin

Upload: others

Post on 06-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Architecture

Tools

Intro to Xamarin

Page 2: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Application types

Intro to Xamarin 2

Page 3: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Supporting the platforms

Intro to Xamarin 3

▪ Expensive to staff multiple platform-specific teams

▪ Expensive to maintain multiple code bases

▪ Slows innovation

Page 4: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Hybrid approach

Intro to Xamarin 4

Poor user experience

– API coverage

– Performance

High abandonment rates

Wasted investment

Page 5: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Xamarin Approach

Intro to Xamarin 5

iOS C# UI Android C# UI Windows C# UI

Shared App LogicShared App Logic

Xamarin.Forms

Traditional Xamarin.Forms

Page 6: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Xamarin

Intro to Xamarin 6

Xamarin exposes 100% of the native APIs

for iOS, Android and Windows

Page 7: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Native Performance

Intro to Xamarin 7

Xamarin.iOS does full Ahead Of Time (AOT)

compilation to produce an ARM binary for

Apple’s App Store.

Xamarin.Android takes advantage of

Just In Time (JIT) compilation on the

Android device.

Page 8: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Native APIs Support

Intro to Xamarin 8

Same day support:iOS 7, iOS 7.1, iOS 8, iOS 9, iOS 10

Also:• Google Glass

• Android Wear

• Amazon Fire TV

• Outros…

Page 9: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Actual Apps in Xamarin

Intro to Xamarin 9

Page 10: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Tools and Projects

Intro to Xamarin 10

Visual Studio and Windows

Page 11: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Projects

Intro to Xamarin 11

Page 12: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Xamarin.Forms

Intro to Xamarin 12

Pages

Layouts

ViewsActivityIndicator, BoxView, Button,DatePicker, Editor, Entry, Image, Label, ListView, Picker, ProgressBar,SearchBar, Slider, Stepper, Switch,TableView, TimePicker, WebView

CellsEntryCell, SwitchCell, TextCell, ImageCell

Page 13: Java para dispositivos móveisapm/CM/docs/14IntroXamarin.pdf · Intro to Xamarin 7 Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App

Docs

Intro to Xamarin 13

Documentation

http://developer.xamarin.com