xamarin workshop - jortect 2017

25
XAMARIN WORKSHOP JORTEC INFORMÁTICA 2017 – FCT NOVA

Upload: sara-silva

Post on 08-Apr-2017

16 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Xamarin Workshop - JORTECT 2017

XAMARIN WORKSHOPJORTEC INFORMÁTICA 2017 – FCT NOVA

Page 2: Xamarin Workshop - JORTECT 2017

SPEAKER

Sara Silva@saramgsilva

Page 3: Xamarin Workshop - JORTECT 2017

AGENDA

Mobile Development using Xamarin Mobile Development Lifecycle Continuous Delivery for Mobile Apps

Hands on Labs Lab #1 – Creating a Xamarin Platform App Lab #2 – Creating a Xamarin App using Xamarin Forms

Testing Apps Overview Q & A

Page 4: Xamarin Workshop - JORTECT 2017

MOBILE DEVELOPMENT USING XAMARIN

Write C#. Run on 2.6 billion devices.

With C# and Visual Studio, you can share the same code on iOS, Android, Windows, Mac and more.

Page 5: Xamarin Workshop - JORTECT 2017

MOBILE DEVELOPMENT USING XAMARIN

Tizen .NET Preview

Enables you to build .NET applications for the Tizen operating system, running on 50 million Samsung devices, including TVs, wearables, mobile, and many other IoT devices, around the world.

Page 6: Xamarin Workshop - JORTECT 2017

May 2, 2023 6

DO YOU KNOW?

Xamarin was created in May 2011 by Miguel de Icaza, Nat Friedman and Joseph Hill.

+300 employees | + 1.3 million unique developers  | +15k customers |  + 120 countries

Page 7: Xamarin Workshop - JORTECT 2017

May 2, 2023 7

DO YOU KNOW?

Xamarin was created in May 2011 by Miguel de Icaza, Nat Friedman and Joseph Hill.

+300 employees | + 1.3 million unique developers  | +15k customers |  + 120 countries

Page 8: Xamarin Workshop - JORTECT 2017

MOBILE DEVELOPMENT LIFECYCLE

Page 9: Xamarin Workshop - JORTECT 2017

CONTINUOUS DELIVERY FOR MOBILE APPS

Page 10: Xamarin Workshop - JORTECT 2017

LAB #1CREATING A XAMARIN PLATFORM APP

Creating a Xamarin Platform App

https://goo.gl/mJzPSG

Page 11: Xamarin Workshop - JORTECT 2017

LAB #1CREATING A XAMARIN PLATFORM APP

Shared C# code

Native Development Xamarin SDK and Windows SDK Development

Xamarin unified Mobile Development

Page 12: Xamarin Workshop - JORTECT 2017

LAB #1CREATING A XAMARIN PLATFORM APP

Hands on Labhttps://goo.gl/mJzPSG

Page 13: Xamarin Workshop - JORTECT 2017

LAB #1CREATING A XAMARIN PLATFORM APP

Don’t Mimic UI Elements and Typeface From Other Platforms

Page 14: Xamarin Workshop - JORTECT 2017

LAB #2 CREATING AN APP USING XAMARIN FORMS

Creating a Xamarin App using Xamarin Forms

https://goo.gl/mJzPSG

Page 15: Xamarin Workshop - JORTECT 2017

LAB #2 CREATING AN APP USING XAMARIN FORMS

Shared C# codeShared C# code

Native Development Xamarin SDK and Windows SDK Development Xamarin Forms Development

Xamarin Forms is a framework that unified the UI

Page 16: Xamarin Workshop - JORTECT 2017

LAB #2 CREATING AN APP USING XAMARIN FORMS

Model View ViewModel Pattern (MVVM)

• View define the UI

• View Model define the behavior

• Model define the data

Page 17: Xamarin Workshop - JORTECT 2017

LAB #2 CREATING AN APP USING XAMARIN FORMS

View Model

Feature X(Abstraction

)

Feature XiOS

Feature XAndroid

Feature XWindows

Knows

Implements

Abstraction Pattern

View Model must• Be independent from the platform• Knows the abstraction for each feature

In each target, each feature:• Has your own implementation• Must respect the abstraction (the interface)

Page 18: Xamarin Workshop - JORTECT 2017

LAB #2 CREATING AN APP USING XAMARIN FORMS

Hands on Labhttps://goo.gl/mJzPSG

Page 19: Xamarin Workshop - JORTECT 2017

TESTING APPS OVERVIEW

72020356

OS versionsDevicesLanguagesLocalesScreen sizes

1024K+395727156

OS versionsDistinct devicesLanguagesLocalesScreen sizesManufacturersScreen configurations

Page 20: Xamarin Workshop - JORTECT 2017

Challenges

Device FragmentationApp ComplexityFast Release CyclesShort SessionsHigh Mobile User Expectations

TESTING APPS OVERVIEW

Page 21: Xamarin Workshop - JORTECT 2017

TESTING APPS OVERVIEW

Xamarin Test Cloud

• Automate your app using our powerful testing frameworks or Test Recorder.

• Upload your test suite and run it on thousands of real devices in the cloud.

• Analyze detailed reports with results, screenshots, and performance metrics.

Page 22: Xamarin Workshop - JORTECT 2017

Tap Scroll Swipe Pinch Multi Finger

Text Entry

Rotation GPS

Page 23: Xamarin Workshop - JORTECT 2017

TESTING APPS OVERVIEW

Visual Studio Mobile Center (Preview)

Bring your apps written in any language to Visual Studio Mobile Center’s cloud and lifecycle services and you’ll get faster release cycles, higher-quality apps, and the time and data to focus on what users want.

Page 24: Xamarin Workshop - JORTECT 2017

Q & A

Page 25: Xamarin Workshop - JORTECT 2017

Obrigada!

WORKSHOP XAMARIN – JORTEC 2017