xamarin dev days - introduction to xamarin.forms, insights, test cloud

31
#XamarinDevDays Xamarin.com Welcome to github.com/xamarin/dev-days-labs

Upload: james-montemagno

Post on 27-Jul-2015

305 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

#XamarinDevDays

Xamarin.com

Welcome to

github.com/xamarin/dev-days-labs

Page 2: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 3: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Traditional Xamarin Approach

With Xamarin.Forms:More code-sharing, all native

iOS C# UI iOS C# UIAndroid C# UI

Shared C# Backend

Shared UI Code

Shared C# Backend

Page 4: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

✓ 40+ Pages, layouts, and controls(Build from code behind or XAML)

✓ Two-way data binding✓ Navigation✓ Animation API✓ Dependency Service✓ Messaging Center

Shared C# Backend

Shared UI Code

Page 5: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

<?xml version="1.0"  encoding="UTF-­‐8"?><TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"

xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"x:Class="MyApp.MainPage">

<TabbedPage.Children><ContentPage Title="Profile"  Icon="Profile.png">

<StackLayout Spacing="20" Padding="20"VerticalOptions="Center">

<Entry Placeholder="Username"Text="{Binding  Username}"/>

<Entry Placeholder="Password"Text="{Binding  Password}"IsPassword="true"/>

<Button Text="Login"  TextColor="White"BackgroundColor="#77D065"Command="{Binding  LoginCommand}"/>

</StackLayout></ContentPage><ContentPage Title="Settings"  Icon="Settings.png">

<!-­‐-­‐ Settings -­‐-­‐></ContentPage></TabbedPage.Children>

Page 6: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Layouts

Pages

Stack Absolute Relative Grid ContentView ScrollView Frame

Content MasterDetail Navigation Tabbed Carousel

Page 7: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

ActivityIndicator BoxView Button DatePicker Editor

Entry Image Label ListView Map

OpenGLView Picker ProgressBar SearchBar Slider

Stepper TableView TimePicker WebView EntryCell

ImageCell SwitchCell TextCell ViewCell

Page 8: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Xamarin.Forms Ecosystem

Page 9: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Windows Xamarin.FormsStackPanel StackLayoutTextBox EntryListBox ListViewCheckBox SwitchProgressBar ActivityIndicatorGrid GridLabel LabelButton ButtonImage ImageDate/TimePicker Date/TimePicker

Page 10: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Windows Xamarin.FormsDataContext BindingContext{Binding Property} {Binding Property}ItemsSource ItemsSourceItemTemplate ItemTemplateDataTemplate DataTemplate

Page 11: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 12: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 13: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 14: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

• Device Fragmentation

• App Complexity

• Fast Release Cycles

• Short Sessions

• High Mobile User Expectations

Page 15: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

5 OS versions20 devices20 languages35 locales6 screen sizes

9 OS versions6 Screen configurations27 screen sizes39 languages

57 locales15 ManufacturersOver 19,000 distinct devices

Page 16: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 17: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Thousands  of  iOS and  Android  APIs

Public  web  APIs

Backend  integrations

Third  party  libraries

Memory,  CPU  and  network  constraints

Page 18: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

• Create Automated User Interface tests all in C#

• Upload to the Test Cloud or run against a Device or Simulator

• Run directly from Visual Studio or Xamarin Studio

• FREE to use a Simulator*

• Works on ANY app: Native, Hybrid, or Xamarin

Page 19: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 20: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

xamarin.com/testcloud

Page 21: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 22: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

xamarin.com/insights

Page 23: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

• Supports• Xamarin.iOS• Xamarin.Android• Xamarin.Mac• Windows Phone• Windows Store• Windows Desktop

• Currently in preview

Page 24: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

• Automatically report any uncaught managed or native exception.

• Report your own caught exceptions with simple cross-platform API

Page 25: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

• Track any event that occurs in your application.

• Even track performance of how long an operation takes.

Page 26: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Combine event tracking with user identification to resolve issues faster.

Page 27: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Simple integrations into popular services for mission critical notifications.

Page 28: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud
Page 29: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

DESIGN – DEVELOP -‐ INTEGRATE TEST MONITOR

LEARN

Page 30: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

xamarin.com/university

Unrivaled Mobile Development

Training

Live unlimited mobile development training from mobile experts, in your time-zone, on your schedule, and as often as you'd like.

Page 31: Xamarin Dev Days -  Introduction to Xamarin.Forms, Insights, Test Cloud

Thank you.

JamesMontemagnoDeveloper Evangelist, Xamarin

[email protected] motzcod.es @JamesMontemagno

Questions?