Download presentation
Presentation is loading. Please wait.
1
Introduction to Xamarin
Good evening everyone. Giving you a work welcome Introduction to Xamarin. Our first session in Colombo Xamarin meet up. Hope you guys will join with us in future tech talks also. Please make this as a very interactive session. I hope most of people are mobile engineers. How many of mobile engineers, C#, .Net, Xamarin. Introduction to Xamarin
2
About me I am Hiran Peiris… I love Xamarin… SSE – Mobile at CMS.
From iOS background. 5 years. I do lot of cross platform mobile developments now. Member of Colombo Xamarin Meetup - organizing team I am hiran Cross platform developments Mainly in iOS, Titanium, Phone gap. Now I do lot of Xamarin developments. Member of Colombo Xamarin Meetup - organizing team I am on Facebook, Linked, not using Twitter. I am Hiran Peiris… I love Xamarin…
3
Colombo Xamarin Meetup
This is our Colombo Xamarin Meetup page. You can follow the link. You can join with us there. We will notice you about out next tech talks. So, be in touch. Next teach talk will be on Xamarin Forms. Mastering, Performance optimizing, Custom layouts.
4
agenda Introduction Xamarin compiler internals Xamarin for iOS
Xamarin for Android Xamarin Forms Custom renderers Dependency services Q/A Please make this as a very interactive session. But if you get any question in the middle. Please feel free to interrupt and ask.
5
Are you ready ?
6
Introduction
7
What is XamArin Xamarin is a Cross plaform Mobile technology.
Is that correct ? No it support for Desktop app also. Mono. Mac. C# 6.0
8
History Xamarin came from Mono Project (http://www.mono-project.com).
Linux, Mac, Windows. Simler to .Net runtime. Cross platform version of .Net runtime. C# developers to write apps that’s runs many platforms. Miguel de Icaza (Creator of Mono and CTO of Xamarin)
9
How it works ?
10
Compiler Internals Question ? How C# run in devices. Architecture
11
Ported mono runtime to each of mobile platforms
Mono runtime has ported to mobile OS.
12
Mono runtime is there, It talks to Darlvivk vertual machain. ART
13
Objc Reflections API.
14
App size ?
15
App size When developing Linker When publishing
Now you have a question about packaging
16
Xamarin for ios Same API name.
17
iOS tutorial
18
Xamarin for Android Same Api name.
19
Android tutorial
20
Not cross platform yet ?
21
Xamarin forms This is where the real Cross platform thing happen
Xamal language. Like XML. Its really eazy. You will love it.
22
Forms tutorial
23
How Form controls works ?
24
Customize ?
25
Custom renderers Can we customize Xamarin form controls ?
26
What is a custom renderer ?
27
custom renderer tutorial
Custom requirement
29
Forms control code
30
iOS control code
31
android control code
32
More custom functionalities ?
33
Dependency services When you need something which doesn't support by Xamarin forms. Lets say when you click a button you want to do a share action.
34
What is a dependency service ?
IOS Code for FB Share Form control Execute Android Code for FB Share
36
Forms code
37
iOS code
38
android code
39
q/A
40
Thank you…
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.