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
43
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
36
Learn C# Programming - Encapsulation & Methods
ceteongvanness
0
33
Learn C# Programming - Nullables & Arrays
ceteongvanness
0
36
Learn Xamarin Absolute Beginners - Permissions, Building the App GUI & Menus
ceteongvanness
0
24
Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & Android Activity Lifecycle
ceteongvanness
0
79
Learn C# Programming - Decision Making & Loops
ceteongvanness
0
28
Learn C# Programming - Operators
ceteongvanness
0
22
Learn C# Programming - Variables & Constants
ceteongvanness
0
97
Learn C# Programming - Data Types & Type Conversion
ceteongvanness
0
61
Other Decks in Programming
See All in Programming
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
990
Node.js v22 で変わること
yosuke_furukawa
PRO
11
3.9k
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
220
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
110
Let's learn code review
riofujimon
2
570
PHPはいつから死んでいるかの調査
chiroruxx
2
420
Anthropic Cookbook のおすすめレシピ
schroneko
7
1.1k
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
480
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
430
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
670
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
200
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
120
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
What the flash - Photography Introduction
edds
64
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Navigating Team Friction
lara
179
13k
BBQ
matthewcrist
80
8.8k
Agile that works and the tools we love
rasmusluckow
325
20k
What's in a price? How to price your products and services
michaelherold
238
11k
The Cost Of JavaScript in 2023
addyosmani
21
3.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
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