View
210
Download
1
Category
Tags:
Preview:
Citation preview
Android & iOS App Development in C#
James Montemagno @JamesMontemagno
Developer Evangelist
Who is this guy?
James Montemagno
Developer Evangelist
james@xamarin.com http://motz.codes @JamesMontemagno
Xamarin—A Complete Mobile Solution
Design Develop Integrate
Learn
Xamarin Platform
Test Monitor
Mobile Development Approaches
Silo Approach
Build App!Multiple Times!
!
Write-Once-Run-Anywhere Approach
Lowest!Common!
Denominator! Black box
Xamarin’s Unique Approach
Native with!Code Sharing!
Why C#?
C# Is Pretty Awesome
• LINQ Support
• Work With XML Easily XDocument
• Event Handling & Delegates
C# Is Pretty Awesome
Json.NET offers simple conversions to and from JSON strings and .NET objects, with SerializeObject and DeserializeObject methods.
C# Is Pretty Awesome
Write Beautiful & Maintainable Code
C# Is Pretty Awesome
C# with XamarinJava
C# & Async with Xamarin
How Xamarin Works
Windows APIs
iOS
100% API Coverage
Android
100% APICoverage
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.
Magical Android Bits
Visual Studio – 2010 and Higher
Xamarin Studio – Mac or PC
Xamarin Android Player
High Speed Android Emulator• Mac or PC• Runs side-by-side Windows
Phone EmulatorFree for Xamarin Subscribers:• Xamarin.com/Android-Player
Let’s build an Android App
Code Sharing
• Up to 90% Code Reuse• Leverage existing libraries
– NuGet Support
Code-sharing stats from iCircuit, built with Xamarin and featured on the App Store. Source: http://praeclarum.org/post/42378027611/icircuit-code-reuse-part-cinq
Shared Projects
Portable Class Libraries
• 1 Assembly• Multiple Platforms• Including:
• Xamarin.Android• Xamarin.iOS
Let’s build an iOS App
Introducing Xamarin.UITest • Power C# Automation!
• Run tests locally on
simulator or device!
• Any Native or Hybrid
Mobile App!!
Let’s take a look real quick J
Resources
Android Ported to C#• http://blog.xamarin.com/android-in-c-sharp/
Xamarin is FREE for Students• http://www.xamarin.com/student
Documentation:• http://developer.xamarin.com
Get StartedXamarin.com
Thank you!Q&A
James Montemagno
Developer Evangelist
james@xamarin.com http://motz.codes @JamesMontemagno
Recommended