Mobile Development in.net mit Xamarin

Ähnliche Dokumente
Mobile App development mit Xamarin. Christian Hassa Andreas Willich TechTalk Software AG

Mit Cloud Power werden Sie zum

Cross-Platform Mobile mit.net

Jörg Neumann Acando GmbH

Agenda. Native Cross- Platform- Entwicklung. Mobile Business Apps. App Demo Code Demo. Fazit. Architektur ALM

Cross-Platform Mobile Development mit Xamarin Mark

Xamarin Applikationen Showcase aus der Praxis

Cross-Plattform-App- Entwicklung mit Visual Studio 2017

Romano Roth & Oliver Brack Zühlke Engineering AG

ios, Android, WP7... Alle nativ auf einen Streich!

Kerry W. Zühlke Engineering GmbH

Cross Platform Development Heute Windows, morgen Android, übermorgen Xbox

Zentrale Informatik. Cross-platform Apps. Andrea Grössbauer David Meier. 11/11/15 Lunchveranstaltungen HS16 - Crossplatform Apps 1

Workshop 6 (ws6c) native Entwicklung für mobile Geräte

Mobile Applications. Adrian Nägeli, CTO bitforge AG

JavaFX auf Mobile. von Stefan Barth und Stefan Heinze

Eine App, viele Plattformen

Smartphone Entwicklung mit Android und Java

Android-Testautomatisierung mit Robotium

MOBILE ON POWER MACHEN SIE IHRE ANWENDUNGEN MOBIL?!

MOBILE ENTERPRISE APPLICATION PLATFORM (MEAP)

MOBILE ENTERPRISE APPLICATION PLATFORM (MEAP)

Cross-Plattform Apps mit

Skalierbare Enterprise Architekturen für Universal Windows Platform Apps

Mobile Backend in der

Apps in ArcGIS: Neuerungen. 18. Juni 2015

The app the crashes, before the breakpoint is reached: Code to the event:

Android Testautomatisierung mit dem Framework Robotium

Cross-Platform Entwicklung mit Xamarin: Erfahrungen eines Software-Ingenieurs

Mobile App Testing - Mit der richtigen Strategie zum Erfolg

Embedded Computing Conference 2014 Embedded UI Qt5

Meine App, die Cloud und ich

App Entwicklung mit Hilfe von Phonegap. Web Advanced II - SS 2012 Jennifer Beckmann

Uwe Baumann artiso Solutions

Mit Cloud Power werden Sie zum

Plattformunabhängige App-Entwicklung - Eine für alle?

Automatisiertes UI Testing. Mark Allibone, , #2

Cross-Platform Apps mit HTML5/JS/CSS/PhoneGap

Agile Testautomatisierung im XING Mobile Team

2.1. Short description to bug Xamarin.Forms: ListView not scrollable in a ScrollView in a Stacklayout on Android

Vaadin TouchKit. W3L AG

Grenzübertritt. Um mit Visual Studio für ios zu entwickeln, ist ein wenig mehr nötig als die Xamarin- Bibliotheken. Mit C# für das iphone entwickeln

Die Alternative zum Web-Form Modell

Nico Orschel AIT GmbH & Co KG Marc Müller 4tecture GmbH. 95 Prozent brauchen es, 5 Prozent machen es: Load Testing mit VS leicht gemacht

Workshop 6 (ws6c) native Entwicklung für mobile Geräte

Projekte. Beratung. Spezialisten. FAQs zur Technik. IKS-Thementag FAQs zur Technik 1 61

Mobile App Testing. Software Test im mobilen Umfeld ATB Expertentreff, Wien, Functional Test Automation Tools

Ein mobiler Electronic Program Guide

Web APIs auf dem Prüfstand Volle Kontrolle oder fertig mit den Azure Mobile Services?

Marcus Ross. PhoneGap. Mobile Cross-Plattform-Entwicklung mit Apache Cordova & Co. dpunkt.verlag

Silverlight for Windows Embedded. Martin Straumann / Stv. Business Unit Leiter Microsoft Technologien / Application developer

23. Januar, Zürich-Oerlikon

Mobile Angebote Strategie einer Verwaltung. Freie und Hansestadt Hamburg Dr. Ursula Dankert

C# Programmierung. Eine Einführung in das.net Framework. C# Programmierung - Tag 7: Prozesse und Möglichkeiten

Mobile Analytics mit Oracle BI

Agile Testautomatisierung im XING Mobile Team

Datenhaltung für Android. Model First

Übung 1 mit C# 6.0 MATTHIAS RONCORONI

Excelsis Business Technology AG

TELEMETRIE EINER ANWENDUNG

XAML Extensible Application Markup Language. Manuel Naujoks (IB3)

Informatik Sommercamp 2012

Mobile Apps mit. React-Native. Manuel

Mobile Apps mit. React-Native. Manuel

Verteilte Paarprogrammierung mit Eclipse

Ansätze der Entwicklung von Multiplattform-Anwendungen. M.Eng. Rafael Pisarczyk (FH Aachen)

Vom Prototypen zur Anwendung

Android GUI Entwicklung

Mobile Application Development

Cross Platform Development mit SharePoint

! Jahrgang ! Studium der Mathematik und Informatik an der TU Braunschweig. ! Entwicklung klassischer Client-Server-Systeme zur Terminplanung

Mobile Backend in. Cloud. Azure Mobile Services / Websites / Active Directory /

Präsentation Von Laura Baake und Janina Schwemer

Architekturen mobiler Multi Plattform Apps

Use Cases, Mockups, Prototyping Von der Idee zur App

Implementierung eines Multi- Device Interfaces zur Zeiterfassung fur Microsoft Dynamics NAV

MeteoCheck Relaunch mit Xamarin. Studienarbeit

Lync Szenarien. LIVE Vorführung Geronimo Janosievics Hans Eder

Moderne Benutzeroberflächen für SAP Anwendungen

Walkabout: Location Based Services mit Android und dem Google Phone

Naviki GPS-Anwendungsentwicklung für Mobiltelefone

MVVM in Windows 8 und Windows Phone 8

Von WinForms nach WPF

Lizenzierung von morgen Planen Sie im Voraus und nutzen Sie die Zukunft noch heute. Roman Heimgartner

LOAD TESTING 95% BRAUCHEN ES, 5 % MACHEN ES: LOAD TESTING MIT VS LEICHTGEMACHT NICO ORSCHEL MVP VS ALM, CONSULTANT

Entwicklungswerkzeuge & - methoden

Visual Studio 2012 Windows 8 und.net 4.5. Hans Peter Bornhauser, Noser Engineering AG Fachbereichsleiter.NET, Digicomp AG

Einführung in Android. 9. Dezember 2014

Transkript:

1 Mobile Development in.net mit Xamarin

Mobile Web (Hybrid) Apps Vorteil: Weniger Aufwand Multi-Plattform Web-Technologien Nachteil: UX Performance UI Design Gerätefunktionen 2

Plattform abstrahieren 3

Entwicklung pro Plattform 4

Xamarin Ansatz 5

Native Mobile Apps mit Xamarin 1. Bestehendes.NET Know-How 2. Mächtige Plattform und Tools (Linq, Xml, Events/Delegates, Parallel Programming, Visual Studio/TFS, ) 3. Shared Code zwischen Plattformen 6

Benötigtes Know-How.NET 7

Xamarin.iOS C# 8

Xamarin.Android C# twitterlistview.setonitemclicklistener (new OnItemClickListener () { public void onitemclick (AdapterView<?> parent, View view, int position, long id) { Intent tweetdetails = new Intent (TwitterScreen.this, TweetDetailsScreen.class); tweetdetails.putextra ("TweetID", TwitterFeed[position].ID); startactivity (tweetdetails); } }; twitterlistview.itemclick += (s, e) => { var tweetdetails = new Intent (this, typeof (TweetDetailsScreen)); tweetdetails.putextra ("TweetID", TwitterFeed[e.Position].ID); StartActivity (tweetdetails); }; 9

Entwicklungsumgebung OS Mac OSX Windows UI Designer Build Debug Android, ios Android, ios Android (Device und ARM/x86 Emulator) ios (Device und Emulator auf Mac) 10

Kompilierung und Ausführung ios App (C#,F#) Shared Code (C#,F#,VB.NET) Android App (C#,F#) Solution mit Projekten Xamarin.iOS Profil Assembly Multi-Platform Profil Assembly Xamarin.Android Profil Assembly IL Code für plattformspezifische Profile AOT ARM Binary Mono CLR für ios (Monotouch) ios APP ios/cocoa Touch IL+JIT Mono CLR für Android (Monodroid) Android APK Android/Linux Kernel ARM Binary ios APP Android.* Java.* Android APK Dalvik 11

Architektur ios App View Controllers Storyboards/Segues Table Views Foundation/UIKit Android App Activities Intents ListViews, Adapters Android SDK Portable Class Library ViewModel Business Logic Entities Repository/DAL CloudServiceAccess 12

DEMO 13

Architektur ios App View Controllers Storyboards/Segues Table Views Foundation/UIKit Android App Activities Intents ListViews, Adapters Android SDK ios Class Library IPlatformDependent Implementation Android Class Library IPlatformDependent Implementation Portable Class Library ViewModel Business Logic Entities Repository/DAL CloudServiceAccess IPlatformDependent NuGet Package Pure/Advanced PCL 14

Portierbarer Code (Anteil in %) 72% 86% 46% 53% 61% 70% 44% 53% 15

Portabilität erhöhen Portable Class Libraries für Xamarin HTTPClient Json.Net MvvMCross RestSharp CouchBase MailKit/MimeKit 16

Portabilität erhöhen Xamarin Components/Plugins Battery Status Compass Barcode Scanner Device Info File System Notifications Messaging Push Notifications Text To Speech Contacts Leds Microsoft Band https://github.com/xamarin/xamarincomponents 17

Xamarin.Forms Eine UI Definition für alle 3 Plattformen in XAML (DataBinding) Verwendet native UI Controls Mischung möglich 18

DEMO 19

ALM Tool Chain und TFS Integration VCS nach Wahl Xamarin Studio hat keinen TFS- VCS Support Builds TFS 2015 Buildsystem MacOS/Windows Agents Tasks zum Builden Issues/Board Keine Änderung 20

Debugging Voller Funktionsumfang: Breakpoints, Watches, Callstack, Unterstützung für: Android (Hardware & Emulator) ios (Hardware & Emulator über Build Host) 21

Testing Manuelles Testen Unit Tests möglich Xamarin Test Cloud ~2000 verschiedene Geräte zum Testen Nicht in Lizenz enthalten 22

Zusätzliche Tools von Xamarin Xamarin Android Player Remote ios Simulator Xamarin.Forms Previewer (alpha) Workbooks 23

Xamarin Lizenzierung und Kosten Lizenzierung bei Visual Studio Lizenz dabei auch bei Community Edition Mac Hardware für Xamarin.iOS benötigt 24

Xamarin Nachteile Stabilität Mehraufwand bei der Architektur, damit der Code portable bleibt 25

Fazit Mobile Apps dringen in alle Bereiche vor Android und ios als dominante Plattformen Schneller Einstieg für.net/c# Entwickler Einarbeitung in Android/iOS SDK erforderlich Mächtige Werkzeuge und Plattformen (.NET/VS) X-Plattform Code Sharing (50-80%) Hohe Popularität in der.net Community (Libraries!) 26

Popularität 27

Fragen? 28