xamarin workshop - jortect 2017
TRANSCRIPT
XAMARIN WORKSHOPJORTEC INFORMÁTICA 2017 – FCT NOVA
SPEAKER
Sara Silva@saramgsilva
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
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.
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.
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
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
MOBILE DEVELOPMENT LIFECYCLE
CONTINUOUS DELIVERY FOR MOBILE APPS
LAB #1CREATING A XAMARIN PLATFORM APP
Creating a Xamarin Platform App
https://goo.gl/mJzPSG
LAB #1CREATING A XAMARIN PLATFORM APP
Shared C# code
Native Development Xamarin SDK and Windows SDK Development
Xamarin unified Mobile Development
LAB #1CREATING A XAMARIN PLATFORM APP
Hands on Labhttps://goo.gl/mJzPSG
LAB #1CREATING A XAMARIN PLATFORM APP
Don’t Mimic UI Elements and Typeface From Other Platforms
LAB #2 CREATING AN APP USING XAMARIN FORMS
Creating a Xamarin App using Xamarin Forms
https://goo.gl/mJzPSG
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
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
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)
LAB #2 CREATING AN APP USING XAMARIN FORMS
Hands on Labhttps://goo.gl/mJzPSG
TESTING APPS OVERVIEW
72020356
OS versionsDevicesLanguagesLocalesScreen sizes
1024K+395727156
OS versionsDistinct devicesLanguagesLocalesScreen sizesManufacturersScreen configurations
Challenges
Device FragmentationApp ComplexityFast Release CyclesShort SessionsHigh Mobile User Expectations
TESTING APPS OVERVIEW
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.
Tap Scroll Swipe Pinch Multi Finger
Text Entry
Rotation GPS
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.
Q & A
Obrigada!
WORKSHOP XAMARIN – JORTEC 2017