SlideShare uma empresa Scribd logo
1 de 35
 Introduction to Xamarin
 Xamarin history
 How is Xamarin Working?
 Installing Xamarin
 What is Xamarin. Forms?
 More information related to Xamarin
Introduction to Xamarin
Introduction to Xamarin
Xamarin is a San Francisco, California based software company
created in May 2011 by the engineers that created Mono,
MonoTouch and Mono for Android .
With a C# shared codebase, developers can use Xamarin to write
native iOS, Android, and Windows apps with native user interface
and share code across multiple platforms.
Xamarin has over 505,000 developers in more than 120 countries
around the world as of February 2014.
Nat Friedman is the CEO and Co-founder.
Build native UIs for iOS, Android and Windows
from a single, shared C# codebase.
Xamarin History
Xamarin History
 The Mono open source project was launched on July 19, 2001. Ximian
was bought by Novell on August 4, 2003, which was then acquired
by Attachmate in April 2011.
 In December 2012, Xamarin released Xamarin.Mac.
 Xamarin 2.0 was released in February 2013 . Xamarin.iOS and
Xamarin.Android make it possible to do native iOS, Android and
Windows development in C#, with either Xamarin Studio or Visual
Studio.
 Introduced in Xamarin 3 on May 28, 2014 and allows one to use
portable controls subsets that are mapped to native controls of
Android, iOS and Windows Phone.
Xamarin History
 In 2014 Xamarin introduced Xamarin. Forms
 A common UI for mobile platforms
 A way of reusing ~90% of the code for all mobile platforms
 Contains a Xamarin XAML that is much like the MS XAML
Supports data-binding, dependency and attached
properties
 It all compiles to native code
How does Xamarin works?
How does Xamarin works?
 The apps created with Xamarin are compiled into native-code
 For iOS and OS X, Xamarin translates all the .NET code into
Objective-C and C code
This must happen on a MAC machine
 For Android it creates a set of bridges that are installed on the
Android device
Something like a CLR inside an Android device
 For Windows Phone, it just compiles to a Windows Phone app
Xamarin Installation
Xamarin Installation
 Installing Xamarin for all OSes is pretty easy:
 Just download Xamarin Platform Latest:
http://xamarin.com/platform
 This will set up almost everything needed to create apps
Downloads the necessary JRE, JDK and ADK for Android
Installs Xamarin Studio and Plugins for Visual Studio, if
missing
Xamarin Installation
 For Windows Phone and iOS there are some additional things to
do:
 Install Windows Phone SDK on Windows
Windows Phone apps can be created only with Visual
Studio
 Install Xcode on OS X
iOS apps can be created only on MAC machine
 For easier work with Android, install Xamarin Android Player
 Works with VirtualBox
Xamarin. Forms
Xamarin. Forms
 Xamarin. Forms is the common UI of Xamarin
 Share ~90% of the code base for each platform
Only the rest 10% are concrete for the platform
 How to create and run a Xamarin. Forms app?
 Create a new project, located at:
C# -> Mobile Apps -> Blank App
 Write code, select the wanted project as "Startup project"
 Run in the simulator
How does Xamarin.Forms fit in?
For software developers, the optimum strategy is to target more
than just one of these platforms. But that’s not easy. There are
three big obstacles:
 Problem 1: Different development environments
 For iOS development, XCode on the Mac.
 For Android development, Eclipse on a variety of platforms.
 For Windows Phone development, Visual Studio on the PC.
 Problem 2: Different programming interfaces:-For example, all
three platforms have something that lets the user toggle between two states:
 On the iPhone, it’s a “view” called UISwitch.
 On Android devices, it’s a “widget” called Switch.
 On Windows Phone, one possibility is a “control” called
ToggleSwitchButton from the Windows Phone Toolkit NuGet package.
 Problem 3: Different programming languages:-Developers have
some flexibility in choosing a programming language for each of these three
platforms
 Objective-C for the iPhone
 Java for Android devices
 C# for Windows Phone
Xamarin. Forms Pages
Xamarin. Forms Pages represent cross-platform mobile app screens.
Types of Page:-
 ContentPage
 MasterDetailPage
 NavigationPage
 TabbedPage
 CarouselPage
ContentPage
 A Content Page displays a single View, often a container such as
a StackLayout or a ScrollView
MasterDetailPage
The Master Detail Page displays two pages-one master and one
detail.
It is usually used to display menus or list of items.
NavigationPage
 A Page that manages the navigation and user-experience of a
stack of other pages.
TabbedPage
 The Tabbed Page allows two or more page to be represent in an
array of tabs shown either on the bottom of the screen(iOS) or
at the top of the screen(Android).
CarouselPage
 A carousel Page allows pages to be displayed using swipe
gestures.
Xamarin.Forms Layouts
Xamarin. Forms Layouts are used to compose user interface controls into logical
structures.
Layouts
 StackLayout
 AbsoluteLayout
 RelativeLayout
 GridLayout
 ContentView
 ScrollView
 Frame
StackLayout
AbsoluteLayout
RelativeLayout
GridLayout
ContentView
ScrollView
Frame
More information related to Xamarin
Xamarin.Forms
Questions?
An introduction to Xamarin

Mais conteúdo relacionado

Mais procurados

Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018Rao Purna
 
Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?ChromeInfo Technologies
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React NativeSambhu Lakshmanan
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app developmentChamil Madusanka
 
Introduction to Flutter - truly crossplatform, amazingly fast
Introduction to Flutter - truly crossplatform, amazingly fastIntroduction to Flutter - truly crossplatform, amazingly fast
Introduction to Flutter - truly crossplatform, amazingly fastBartosz Kosarzycki
 
Build tools introduction
Build tools introductionBuild tools introduction
Build tools introductionvodQA
 
SwiftUI and Combine All the Things
SwiftUI and Combine All the ThingsSwiftUI and Combine All the Things
SwiftUI and Combine All the ThingsScott Gardner
 
Firebase Cloud Messaging
Firebase Cloud MessagingFirebase Cloud Messaging
Firebase Cloud MessagingMohd Shamweel
 
Introduction to Spring Boot!
Introduction to Spring Boot!Introduction to Spring Boot!
Introduction to Spring Boot!Jakub Kubrynski
 
Top 11 Mobile App Development Frameworks
Top 11 Mobile App Development FrameworksTop 11 Mobile App Development Frameworks
Top 11 Mobile App Development FrameworksAlbiorix Technology
 
Testing of React JS app
Testing of React JS appTesting of React JS app
Testing of React JS appAleks Zinevych
 
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...ReformedTech
 
Microservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro FrontendsMicroservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro Frontendsandrejusb
 

Mais procurados (20)

Flutter Intro
Flutter IntroFlutter Intro
Flutter Intro
 
Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Apple iOS
Apple iOSApple iOS
Apple iOS
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Appium overview
Appium overviewAppium overview
Appium overview
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Introduction to Flutter - truly crossplatform, amazingly fast
Introduction to Flutter - truly crossplatform, amazingly fastIntroduction to Flutter - truly crossplatform, amazingly fast
Introduction to Flutter - truly crossplatform, amazingly fast
 
Build tools introduction
Build tools introductionBuild tools introduction
Build tools introduction
 
SwiftUI and Combine All the Things
SwiftUI and Combine All the ThingsSwiftUI and Combine All the Things
SwiftUI and Combine All the Things
 
Firebase Cloud Messaging
Firebase Cloud MessagingFirebase Cloud Messaging
Firebase Cloud Messaging
 
Introduction to Spring Boot!
Introduction to Spring Boot!Introduction to Spring Boot!
Introduction to Spring Boot!
 
Top 11 Mobile App Development Frameworks
Top 11 Mobile App Development FrameworksTop 11 Mobile App Development Frameworks
Top 11 Mobile App Development Frameworks
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Testing of React JS app
Testing of React JS appTesting of React JS app
Testing of React JS app
 
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
Native, Hybrid, or Cross-platform Development? What Type of Mobile App is Bes...
 
Microservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro FrontendsMicroservice Approach for Web Development with Micro Frontends
Microservice Approach for Web Development with Micro Frontends
 

Semelhante a An introduction to Xamarin

Designing mobile applications with xamarin
Designing mobile applications with xamarinDesigning mobile applications with xamarin
Designing mobile applications with xamarinJerel Hass
 
Mono for Android... for Google Devs
Mono for Android... for Google DevsMono for Android... for Google Devs
Mono for Android... for Google DevsCraig Dunn
 
Xamarin Mobile App Development Features & Benefits.pdf
Xamarin Mobile App Development Features & Benefits.pdfXamarin Mobile App Development Features & Benefits.pdf
Xamarin Mobile App Development Features & Benefits.pdfFuGenx Technologies
 
Android | Xamarin | Mobile Application development
Android | Xamarin | Mobile Application developmentAndroid | Xamarin | Mobile Application development
Android | Xamarin | Mobile Application developmentKrishnaMildain
 
Future of Mobile Development -Xamarin
Future of Mobile Development -XamarinFuture of Mobile Development -Xamarin
Future of Mobile Development -XamarinChamod Sandaru
 
Introduction to iOS with C# using Xamarin
Introduction to iOS with C# using XamarinIntroduction to iOS with C# using Xamarin
Introduction to iOS with C# using XamarinCraig Dunn
 
Xamarin Best Cross Platform Mobile App Development Solution
Xamarin Best Cross Platform Mobile App Development SolutionXamarin Best Cross Platform Mobile App Development Solution
Xamarin Best Cross Platform Mobile App Development SolutionRamin mohmaad hoseini
 
Benefits of xamarin
Benefits of xamarinBenefits of xamarin
Benefits of xamarinMindfire LLC
 
Xamarin for (not only) Android developers
Xamarin for (not only) Android developersXamarin for (not only) Android developers
Xamarin for (not only) Android developersAleksander Piotrowski
 
Introduction to Android with C# using Xamarin
Introduction to Android with C# using XamarinIntroduction to Android with C# using Xamarin
Introduction to Android with C# using XamarinCraig Dunn
 
Why is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentWhy is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentFullestop
 
Native iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinNative iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinJames Montemagno
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioMark Arteaga
 
Dot net universal apps
Dot net universal appsDot net universal apps
Dot net universal appssonia merchant
 
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinIntroduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinJames Montemagno
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinJames Montemagno
 
Building cross-platform mobile apps with Xamarin
Building cross-platform mobile apps with XamarinBuilding cross-platform mobile apps with Xamarin
Building cross-platform mobile apps with XamarinHajan Selmani
 

Semelhante a An introduction to Xamarin (20)

Designing mobile applications with xamarin
Designing mobile applications with xamarinDesigning mobile applications with xamarin
Designing mobile applications with xamarin
 
Mono for Android... for Google Devs
Mono for Android... for Google DevsMono for Android... for Google Devs
Mono for Android... for Google Devs
 
Xamarin Mobile App Development Features & Benefits.pdf
Xamarin Mobile App Development Features & Benefits.pdfXamarin Mobile App Development Features & Benefits.pdf
Xamarin Mobile App Development Features & Benefits.pdf
 
Android | Xamarin | Mobile Application development
Android | Xamarin | Mobile Application developmentAndroid | Xamarin | Mobile Application development
Android | Xamarin | Mobile Application development
 
Future of Mobile Development -Xamarin
Future of Mobile Development -XamarinFuture of Mobile Development -Xamarin
Future of Mobile Development -Xamarin
 
MonoDroid Crossplatform
MonoDroid CrossplatformMonoDroid Crossplatform
MonoDroid Crossplatform
 
Introduction to iOS with C# using Xamarin
Introduction to iOS with C# using XamarinIntroduction to iOS with C# using Xamarin
Introduction to iOS with C# using Xamarin
 
Xamarin Best Cross Platform Mobile App Development Solution
Xamarin Best Cross Platform Mobile App Development SolutionXamarin Best Cross Platform Mobile App Development Solution
Xamarin Best Cross Platform Mobile App Development Solution
 
Benefits of xamarin
Benefits of xamarinBenefits of xamarin
Benefits of xamarin
 
Xamarin for (not only) Android developers
Xamarin for (not only) Android developersXamarin for (not only) Android developers
Xamarin for (not only) Android developers
 
Introduction to Android with C# using Xamarin
Introduction to Android with C# using XamarinIntroduction to Android with C# using Xamarin
Introduction to Android with C# using Xamarin
 
Why is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app developmentWhy is xamarin the most popular framework for business app development
Why is xamarin the most popular framework for business app development
 
Native iOS and Android Development with Xamarin
Native iOS and Android Development with XamarinNative iOS and Android Development with Xamarin
Native iOS and Android Development with Xamarin
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual StudioGetting Started with iOS & Android Development Using Xamarin & Visual Studio
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
 
Dot net universal apps
Dot net universal appsDot net universal apps
Dot net universal apps
 
Mobile development xamarain
Mobile development xamarainMobile development xamarain
Mobile development xamarain
 
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and XamarinIntroduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarin
 
Xamarin Overview
Xamarin OverviewXamarin Overview
Xamarin Overview
 
Building cross-platform mobile apps with Xamarin
Building cross-platform mobile apps with XamarinBuilding cross-platform mobile apps with Xamarin
Building cross-platform mobile apps with Xamarin
 

Mais de Cynoteck Technology Solutions Private Limited

Mais de Cynoteck Technology Solutions Private Limited (20)

Delivering powerful integrations without code using out-of-the-box Salesforce...
Delivering powerful integrations without code using out-of-the-box Salesforce...Delivering powerful integrations without code using out-of-the-box Salesforce...
Delivering powerful integrations without code using out-of-the-box Salesforce...
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Business process flow enhancement
Business process flow enhancementBusiness process flow enhancement
Business process flow enhancement
 
Editable Grids
Editable GridsEditable Grids
Editable Grids
 
Multi Select Option set in Microsoft Dynamics 365
Multi Select Option set in Microsoft Dynamics 365Multi Select Option set in Microsoft Dynamics 365
Multi Select Option set in Microsoft Dynamics 365
 
Microsoft Dynamics 365 for customer services
Microsoft Dynamics 365 for customer servicesMicrosoft Dynamics 365 for customer services
Microsoft Dynamics 365 for customer services
 
Configuring AWS with IoT
Configuring AWS with IoTConfiguring AWS with IoT
Configuring AWS with IoT
 
An Overview of Google Assistant
An Overview of Google Assistant An Overview of Google Assistant
An Overview of Google Assistant
 
An overview of Ionic
An overview of IonicAn overview of Ionic
An overview of Ionic
 
What's new in Xcode 9?
What's new in Xcode 9? What's new in Xcode 9?
What's new in Xcode 9?
 
An overview of Beacons
An overview of BeaconsAn overview of Beacons
An overview of Beacons
 
An Overview of Angular 4
An Overview of Angular 4 An Overview of Angular 4
An Overview of Angular 4
 
Microsoft Dynamics NAV
Microsoft Dynamics NAV Microsoft Dynamics NAV
Microsoft Dynamics NAV
 
Dynamics 365 for financials
Dynamics 365 for financials Dynamics 365 for financials
Dynamics 365 for financials
 
Microsoft Dynamics 365 for Marketing
Microsoft Dynamics 365 for MarketingMicrosoft Dynamics 365 for Marketing
Microsoft Dynamics 365 for Marketing
 
What is power apps
What is power appsWhat is power apps
What is power apps
 
Microsoft Dynamics 365 for sales
Microsoft Dynamics  365 for sales Microsoft Dynamics  365 for sales
Microsoft Dynamics 365 for sales
 
Microsoft Dynamics 365- field services
Microsoft Dynamics  365- field servicesMicrosoft Dynamics  365- field services
Microsoft Dynamics 365- field services
 
What is project service automation in dynamics 365
What is project service automation in dynamics 365What is project service automation in dynamics 365
What is project service automation in dynamics 365
 
An overview of what is dynamics 365
An overview of what is dynamics 365An overview of what is dynamics 365
An overview of what is dynamics 365
 

Último

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 

Último (20)

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 

An introduction to Xamarin

  • 1.
  • 2.  Introduction to Xamarin  Xamarin history  How is Xamarin Working?  Installing Xamarin  What is Xamarin. Forms?  More information related to Xamarin
  • 4. Introduction to Xamarin Xamarin is a San Francisco, California based software company created in May 2011 by the engineers that created Mono, MonoTouch and Mono for Android . With a C# shared codebase, developers can use Xamarin to write native iOS, Android, and Windows apps with native user interface and share code across multiple platforms. Xamarin has over 505,000 developers in more than 120 countries around the world as of February 2014. Nat Friedman is the CEO and Co-founder.
  • 5. Build native UIs for iOS, Android and Windows from a single, shared C# codebase.
  • 7. Xamarin History  The Mono open source project was launched on July 19, 2001. Ximian was bought by Novell on August 4, 2003, which was then acquired by Attachmate in April 2011.  In December 2012, Xamarin released Xamarin.Mac.  Xamarin 2.0 was released in February 2013 . Xamarin.iOS and Xamarin.Android make it possible to do native iOS, Android and Windows development in C#, with either Xamarin Studio or Visual Studio.  Introduced in Xamarin 3 on May 28, 2014 and allows one to use portable controls subsets that are mapped to native controls of Android, iOS and Windows Phone.
  • 8. Xamarin History  In 2014 Xamarin introduced Xamarin. Forms  A common UI for mobile platforms  A way of reusing ~90% of the code for all mobile platforms  Contains a Xamarin XAML that is much like the MS XAML Supports data-binding, dependency and attached properties  It all compiles to native code
  • 10. How does Xamarin works?  The apps created with Xamarin are compiled into native-code  For iOS and OS X, Xamarin translates all the .NET code into Objective-C and C code This must happen on a MAC machine  For Android it creates a set of bridges that are installed on the Android device Something like a CLR inside an Android device  For Windows Phone, it just compiles to a Windows Phone app
  • 12. Xamarin Installation  Installing Xamarin for all OSes is pretty easy:  Just download Xamarin Platform Latest: http://xamarin.com/platform  This will set up almost everything needed to create apps Downloads the necessary JRE, JDK and ADK for Android Installs Xamarin Studio and Plugins for Visual Studio, if missing
  • 13. Xamarin Installation  For Windows Phone and iOS there are some additional things to do:  Install Windows Phone SDK on Windows Windows Phone apps can be created only with Visual Studio  Install Xcode on OS X iOS apps can be created only on MAC machine  For easier work with Android, install Xamarin Android Player  Works with VirtualBox
  • 15. Xamarin. Forms  Xamarin. Forms is the common UI of Xamarin  Share ~90% of the code base for each platform Only the rest 10% are concrete for the platform  How to create and run a Xamarin. Forms app?  Create a new project, located at: C# -> Mobile Apps -> Blank App  Write code, select the wanted project as "Startup project"  Run in the simulator
  • 16. How does Xamarin.Forms fit in? For software developers, the optimum strategy is to target more than just one of these platforms. But that’s not easy. There are three big obstacles:  Problem 1: Different development environments  For iOS development, XCode on the Mac.  For Android development, Eclipse on a variety of platforms.  For Windows Phone development, Visual Studio on the PC.
  • 17.  Problem 2: Different programming interfaces:-For example, all three platforms have something that lets the user toggle between two states:  On the iPhone, it’s a “view” called UISwitch.  On Android devices, it’s a “widget” called Switch.  On Windows Phone, one possibility is a “control” called ToggleSwitchButton from the Windows Phone Toolkit NuGet package.  Problem 3: Different programming languages:-Developers have some flexibility in choosing a programming language for each of these three platforms  Objective-C for the iPhone  Java for Android devices  C# for Windows Phone
  • 18. Xamarin. Forms Pages Xamarin. Forms Pages represent cross-platform mobile app screens. Types of Page:-  ContentPage  MasterDetailPage  NavigationPage  TabbedPage  CarouselPage
  • 19. ContentPage  A Content Page displays a single View, often a container such as a StackLayout or a ScrollView
  • 20. MasterDetailPage The Master Detail Page displays two pages-one master and one detail. It is usually used to display menus or list of items.
  • 21. NavigationPage  A Page that manages the navigation and user-experience of a stack of other pages.
  • 22. TabbedPage  The Tabbed Page allows two or more page to be represent in an array of tabs shown either on the bottom of the screen(iOS) or at the top of the screen(Android).
  • 23. CarouselPage  A carousel Page allows pages to be displayed using swipe gestures.
  • 24. Xamarin.Forms Layouts Xamarin. Forms Layouts are used to compose user interface controls into logical structures. Layouts  StackLayout  AbsoluteLayout  RelativeLayout  GridLayout  ContentView  ScrollView  Frame
  • 31. Frame