Introduction to xamarin
-
Upload
sumantro-mukherjee -
Category
Technology
-
view
101 -
download
3
Transcript of Introduction to xamarin
![Page 2: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/2.jpg)
What is Xamarin?• Xamarin enables developers to reach all major mobile platforms!
Native User Interface
Native Performance
Shared Code Across Platforms
C# & .NET Framework
![Page 3: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/3.jpg)
Mobile Development Approaches
![Page 4: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/4.jpg)
Silo’d Approach
Build Apps Multiple Times
• Multiple Teams
• Multiple Code Bases
• Different toolsets
![Page 5: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/5.jpg)
Write Once, Run Anywhere Approach
Black Box
• Least common denominator
• Browser fragmentation
• Developing & designing for 1
platform, happen to get other
platforms
![Page 6: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/6.jpg)
Xamarin’s Unique Approach
•Native User Interface
• Native Performance
• Shared code across platforms
• C# & .NET Framework
• Full API Coverage
![Page 7: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/7.jpg)
Hybrid Apps - Portable Razor
![Page 8: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/8.jpg)
Why C#?
![Page 9: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/9.jpg)
C# Is Awesome
• LINQ Support
• Work With XML Easily XDocument
• Event Handling & Delegates
![Page 10: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/10.jpg)
C# Is Awesome – JSON Made Easy
Json.NET offers simple conversions to and from JSON strings and .NET objects,
with SerializeObject and DeserializeObject methods.
![Page 11: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/11.jpg)
Probing for properties on an AudioFile
C# with XamarinC
![Page 12: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/12.jpg)
See the Different – Android ItemClick
C# with XamarinJava
![Page 13: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/13.jpg)
Async/Await
Write Beautiful & Maintainable Code
![Page 14: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/14.jpg)
Why Xamarin?
![Page 15: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/15.jpg)
Write Everything in C#
iOS, Android, Windows, Windows Phone, Mac
2.5+ Billion Devices!
![Page 16: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/16.jpg)
Xamarin HistoryOver a Decade of Enterprise Production Use
2000
XimianFounded
2001
MonoStarted
2003
XimianAcquired by Novell
2009
First iOS product (now Xamarin.iOS) launches
2011
Xamarin Founded
First Release of Xamarin.Android
2012
First release of Xamarin.Mac
LaunchPartnerProgram
2013
Xamarin 2.0
Component Store
Evolve 2013
Xamarin TestCloud
Microsoft Partnership
Reach 200,000Developer
Mark
500,000+ Developers
100+ Partners100+ Components
![Page 17: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/17.jpg)
Anything you can do in Objective-C or Java can be done in C# and Visual Studio with Xamarin!
100% API Coverage
![Page 18: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/18.jpg)
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an
ARM binary for Apple’s App Store.
Native Performance
Xamarin.Android takes advantage
of Just In Time (JIT) compilation on
the Android device.
![Page 19: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/19.jpg)
Always Up to Date
Always up-to-date with the
latest APIs.
Great track record. Shipped
same-day support for iOS
5, iOS 6, iOS 6.1, iOS 7
.
![Page 20: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/20.jpg)
Code Sharing: Accelerate Development
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
• Up to 90% Code Reuse
• Leverage existing libraries
NuGet Support
![Page 21: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/21.jpg)
Portable Class Libraries
• 1 Assembly
• Multiple Platforms
• Including:
• Xamarin.Android
• Xamarin.iOS
![Page 22: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/22.jpg)
Portable Class Libraries Features
•Centralized Code Sharing
•How you expect it to work
•Debug seamlessly into and
out of PCL
•Project/Assembly Sharing
•NuGet
![Page 23: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/23.jpg)
PCLs – Well Documented
![Page 24: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/24.jpg)
Microsoft and Xamarin Partner Globally
With Xamarin, developers combine all of the productivity benefits of C#, Visual Studio 2013 and Windows Azure with the flexibility to quickly build
for multiple device targets.”
S. Somasegar, Corporate Vice President, Microsoft
![Page 25: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/25.jpg)
Distribute Everywhere
A Xamarin app is an app, distribute it everywhere
![Page 26: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/26.jpg)
Products
![Page 27: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/27.jpg)
Xamarin.Mac
Xamarin Studio
Xamarin Test Cloud
Component Store
Xamarin.iOS
Xamarin.Android
Xamarin for
Visual Studio
.NET Mobility Scanner
![Page 28: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/28.jpg)
Development Environment
Xamarin Studio
PC or MacVisual Studio Plugin
VS 2010/2012/2013
![Page 29: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/29.jpg)
Visual Studio IntegrationA single solution:
• iOS
• Android
• Windows Phone
• Windows Store
Leverage the entire
Microsoft ecosystem:• ReSharper
• Team Foundation Server
• Your favorite code coverage
and profiling tools
![Page 30: Introduction to xamarin](https://reader033.fdocuments.us/reader033/viewer/2022052413/55a6c0011a28ab41688b4787/html5/thumbnails/30.jpg)
Visual Studio Integration
Debug to:
• Emulators
• Devices
Integrated into toolbar• Status
• Logs
• List of devices
Just Click Start Debugging!