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
Developing iOS and Android Apps in Visual Studi...
Search
Greg Shackles
August 26, 2014
Technology
0
240
Developing iOS and Android Apps in Visual Studio with Xamarin
Greg Shackles
August 26, 2014
Tweet
Share
More Decks by Greg Shackles
See All by Greg Shackles
Building Modern Services with .NET Core 3 and gRPC
gshackles
0
140
Observability-Driven Development: What DevOps is Really About
gshackles
1
270
Monitoring Your Mobile Apps in the Wild
gshackles
1
78
Building Scalable Applications with the Actor Model
gshackles
0
550
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
84
Build 2017 Recap for Xamarin Developers
gshackles
0
83
Going Serverless: Event-Driven Architecture Without The Infrastructure
gshackles
0
150
Evolve 2016 Redux
gshackles
0
120
Instrumenting Your Mobile Monitoring Strategy
gshackles
0
4.6k
Other Decks in Technology
See All in Technology
Functional TypeScript
naoya
11
4.8k
タイミーのレコメンドにおける ABテストの運用
ozeshun
1
200
内製化を目指す事業会社が、システム開発会社と共に進める「開発生産性改善」の取り組み事例 #devsumi
yuwji
1
120
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
140
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
150
リアルお遍路+SORACOM IoT
ozk009
1
140
サーバー管理しないサーバーサービスManaged DevOps Pool
kkamegawa
0
140
不動産tech Product Night#2_AIことはじめ_GA橋本
takehikohashimoto
0
190
Classmethod AI Talks(CATs) #1 司会進行スライド(2024.09.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol1_2024-09-19
shinyaa31
0
140
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
350
2024年のナビゲーション・フォーカス対応:Composeでキーボード・ナビゲーションをサポートしよう
tahia910
0
110
JTCや セキュリティチェックリストが夢の跡
nikinusu
1
750
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
36
7k
Building Applications with DynamoDB
mza
90
6k
Into the Great Unknown - MozCon
thekraken
29
1.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
248
20k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
Statistics for Hackers
jakevdp
794
220k
No one is an island. Learnings from fostering a developers community.
thoeni
18
2.9k
Building Adaptive Systems
keathley
36
2.1k
Adopting Sorbet at Scale
ufuk
73
8.9k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.8k
Embracing the Ebb and Flow
colly
83
4.4k
Code Reviewing Like a Champion
maltzj
517
39k
Transcript
Developing iOS and Android Apps in Visual Studio with Xamarin
+ =
Hello, world! Greg Shackles Senior Engineer Olo
[email protected]
@gshackles github.com/gshackles
speakerdeck.com/gshackles
nycmobiledev.net @NYCMobileDev
gonemobile.io @GoneMobileCast
What is native?
The Anatomy of a Native App
The Anatomy of a Native App Native User Interfaces
The Anatomy of a Native App Native User Interfaces Native
API Access
The Anatomy of a Native App Native User Interfaces Native
API Access Native Performance
The Silo Approach Build App Multiple Times
The Write-Once-Run-Anywhere Approach Lowest Common Denominator
Xamarin’s Approach Native With Code Sharing
Base Class Libraries
Windows APIs
iOS APIs | 100% Coverage
Android APIs | 100% Coverage
Anything you can do in Objective-C or Java can
be done in C# with Xamarin using Visual Studio Pro Tip
Native Performance Xamarin.iOS does full Ahead Of Time (AOT) compilation
to produce an ARM binary for Apple’s App Store.
Native Performance 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 Same day support for " iOS
5, iOS 6, iOS 6.1, " iOS 7, iOS 7.1!! "
Always Up To Date Always up-to-date with the latest APIs
from Apple and Google.
Distribute Everywhere A Xamarin app is an app, distribute it
everywhere
Bring Your Favorite Libraries Json.NET Rx …and many more!
Code Sharing
File Linking
Shared Code Projects
Portable Class Libraries " • 1 Assembly" • Multiple Platforms"
• Including:" • Xamarin.Android" • Xamarin.iOS
Tools
Xamarin.Mac Xamarin Studio Xamarin Test Cloud Component Store Xamarin.iOS Xamarin.Android
Xamarin for " Visual Studio .NET Mobility Scanner
Development Environment Xamarin Studio" PC or Mac Visual Studio Plugin"
VS 2010/2012/2013
Visual Studio Integration
Visual Studio Integration Debug to:" • Emulators" • Devices" "
" Integrated into toolbar" • Status" • Logs" • List of devices" " Just Click Start Debugging!
Android Designer
iOS Designer Fully integrated into Xamarin Studio & Visual Studio
" iOS 6 & 7 Storyboard support " Intuitive event handling Support for auto-layout " Live preview of custom controls " " "
Component Store
First Class F# Support
Razor Templating
Test Cloud
Xamarin.Forms Traditional Xamarin approach
Xamarin.Forms Xamarin.Forms Traditional Xamarin approach Shared UI Code
Xamarin.Forms: What’s Included?
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API ▪ Dependency Service
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API ▪ Dependency Service ▪ Messaging Center
Xamarin.Forms: Pages
Xamarin.Forms: Pages Content MasterDetail Navigation Tabbed Carousel
Xamarin.Forms: Layouts
Xamarin.Forms: Layouts Stack Absolute Relative Grid ContentView ScrollView Frame
Xamarin.Forms: Controls ActivityIndicator BoxView Button DatePicker Editor Entry Image Label
ListView Map OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell
None
None
Let’s Code