Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Xamarin Dev Days 2017- Introduction to Xamarin
Search
Cheah Eng Teong
April 20, 2017
Programming
0
49
Xamarin Dev Days 2017- Introduction to Xamarin
Xamarin Dev Days 2017- Introduction to Xamarin
Cheah Eng Teong
April 20, 2017
Tweet
Share
More Decks by Cheah Eng Teong
See All by Cheah Eng Teong
Learn .NET Core - Introduction
ceteongvanness
0
46
Learn C# Programming - Encapsulation & Methods
ceteongvanness
0
45
Learn C# Programming - Nullables & Arrays
ceteongvanness
0
44
Learn Xamarin Absolute Beginners - Permissions, Building the App GUI & Menus
ceteongvanness
0
32
Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & Android Activity Lifecycle
ceteongvanness
0
100
Learn C# Programming - Decision Making & Loops
ceteongvanness
0
38
Learn C# Programming - Operators
ceteongvanness
0
60
Learn C# Programming - Variables & Constants
ceteongvanness
0
180
Learn C# Programming - Data Types & Type Conversion
ceteongvanness
0
110
Other Decks in Programming
See All in Programming
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
100
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
910
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
120
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
140
自動テストのアーキテクチャとその理由ー大規模ゲーム開発の場合ー
segadevtech
0
410
ALL CODE BASE ARE BELONG TO STUDY
uzulla
30
6.9k
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
450
マンガアプリViewerの大画面対応を考える
kk__777
0
450
SODA - FACT BOOK(JP)
sodainc
1
9.2k
ビルドプロセスをデバッグしよう!
yt8492
0
240
GitHub Copilotを使いこなせ!/mastering_github_copilot!
kotakageyama
2
750
CSC509 Lecture 08
javiergs
PRO
0
280
Featured
See All Featured
Side Projects
sachag
455
43k
Producing Creativity
orderedlist
PRO
348
40k
Automating Front-end Workflow
addyosmani
1371
200k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
GitHub's CSS Performance
jonrohan
1032
470k
A Tale of Four Properties
chriscoyier
161
23k
BBQ
matthewcrist
89
9.9k
A better future with KSS
kneath
239
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
950
Gamification - CAS2011
davidbonilla
81
5.5k
Transcript
None
None
Slides, Demos, & Lab - Clone or Download: http://github.com/xamarin/dev-days-labs
None
None
iOS Windows Android Objective-C Xcode C# Visual Studio Java Android
Studio No shared code • Many languages & development environments • Multiple teams
App Generator Lua Javascript Actionscript HTML+CSS Limited native API access
• Slow performance • Poor user experience
Shared C# codebase • 100% native API access • High
performance iOS C# UI Windows C# UI Android C# UI Shared C# Mobile
Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices System.Data System.Windows System.Numerics System.Core System.ServiceModel
System.Net System System.IO System.Linq System.Xml C#
MapKit UIKit iBeacon CoreGraphics CoreMotion System.Data System.Windows System.Numerics System.Core System.ServiceModel
System.Net System System.IO System.Linq System.Xml C#
Text-to-speech ActionBar Printing Framework Renderscript NFC System.Data System.Windows System.Numerics System.Core
System.ServiceModel System.Net System System.IO System.Linq System.Xml C#
Building User Interfaces
3 Native User Interfaces Shared App Logic iOS C# Windows
C# Android C# Shared C# Logic
Shared User Interface Shared App Logic Shared C# Logic Shared
UI Code
CocosSharp UrhoSharp
86% 14% 72% 28% 70% 30% 61% 39% 88% 12%
76% 24% 90% 10%
Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce
an ARM binary for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
✓Always Up-to-Date • • • • • • • •
• • •
None
None
None
Xamarin is included in Visual Studio
None
Xamarin.com/Download
None
None
Visual Studio for Mac (Preview) iOS, Android, & macOS .NET
development .NET Core & ASP.NET Core Tools for Azure
• Multi-Touch Enabled • Pressure Sensitive • Super Fast •
Rotate, screenshots, location changes • Never leave VS
None
Shared C# Backend
What if we didn’t have to write this code? What
if we could access it from shared code? UI+APIs UI + APIs UI + APIs Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech
TextToSpeech Speak(“Hello World”); AVSpeechSynthesizer SpeechSynthesizer
Common API
None
None
A/B Testing Live Update Storage Push Notifications Crash Reporting Remote
Config. Identity Tables
A/B Testing Live Update Storage Push Notifications Crash Reporting Remote
Config. Identity Tables Visual Studio Mobile Center mobile.azure.com
15 Minute Break Eng Teong Cheah Malaysia Xamarin Group Leader
@cheahengteong