xamarin is the bazooka android and ios as the missles€¦ · xamarin is the bazooka android and...

Post on 27-May-2020

15 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

www.rocksolidknowledge.com

Christopher MyhillChris.Myhill@RockSolidKnowledge.com

Xamarin is the BazookaAndroid and iOS are the Missiles

Who am I?

• Christopher Myhill– Chris.Myhill@RockSolidKnowledge.com

• Rock Solid Knowledge -www.RockSolidKnowledge.com

• Xamarin for 3 years

• MixRadio application– Released world wide

– Million plus users

– Android, iOS, Windows client

Agenda

• Why Xamarin?

• Platform agnostic

• Platform nuances

• Device Deployment

• Releasing your app

Why Xamarin?

• Build Native Apps

– C# .NET

– iOS AOT Compilation

– Android .NET VM + ART

– Compile pipeline

• Interpreted Framework

Development

• Cost– Community Edition– Enterprise

• Tooling– Xamarin Studio (Visual Studio for Mac)– Visual Studio 2013 +

• iOS Development– Mac OS– XCode– Mac Required

Common Code

AndroidiOS

Multi Platform Structure

Windows Phone

Achieving Common Code

• How to share code

– Shared Projects

– PCL / .NET Standard

• Agnostic Layer

• Frameworks

– MVVM Light

– MVVM Cross

– Prism

Multi Platform Structure

Common Code

AndroidiOS Windows Phone

Developing the Application Layer

Xamarin.Forms

Android Development

Demo Time!

Android Nuance

• Activities

• Axml

• Material Design

• APK

iOS Development

Demo Time!

iOS Nuances

• ViewController and View relationship

• MVC

• Storyboards vs Xib

• Auto layout (spring and struts)

• Size Classes

• IPA

Demo time!

Xamarin.Forms

Application Layer Trade off

• Multiple UIs

• Understand the UI design

• Native look and feel

• Pixel Perfect

• Native API’s

• Evolution

Android Device Deployment

• Developer Mode

Android Tools

• ADB

• Monitor

Device Provisioning

Developer Program

• Apple ID

• $99

• Free Provisioning

– 7 Days

– Restricted

Developer certificate

• Secure the application

• Create via Xcode

• Identifies you from Apple

Provision

• Unique Device Identifier

– UDID

• Developer Devices

APP ID

• Bundle Id, Info.Plist

• Reverse-style DNS

– com.RockSolidKnowledge.ToDo

– com.RockSolidKnowledge.*

– *

• Unique

Creating a Provisioning Profile

Device Provisioning

• Very Secure

• 100 Devices

– Per year

• Enterprise Account

– $1,000

Android Signing

• Create a new certificate

• Sign the APK

• Deploy

• From the IDE

• No third party

Getting Your App to Beta

• HockeyApp

• Test Flight

• Google Play

• Crash Analytics

Getting Your App to Users

• Name Reservation

• Marketing Material

– Screen Shots

– Localized

Google Play

• Quick

• Restrict Devices

• Amazon Store

iOS Store

• Slow

– Checked thoroughly

• Test Release

Summary

• Why should I use Xamarin

• How to achieve multi platform development

• Nuances in developing native vs Forms UI

• Device Deployment to Android and iOS

• Getting our app to BETA

• Store Deployment

Resources

• www.Xamarin.com

– University + developer docs

• Developer.Apple.com/Reference

– API docs

• Developer.Android.com/Reference

– API docs

Thanks

Questions?

top related