Download - Cross platform mobile development with C#
![Page 1: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/1.jpg)
Glasgow Mobile .NET Developers
![Page 2: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/2.jpg)
Glasgow Mobile .NET Developers
We discuss the use of .NET for building mobile applications.
We will focus on multi-platform mobile development, including Xamarin (iOS & Android), Windows Phone,
HTML5 and ASP.NET.
![Page 3: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/3.jpg)
We need Speakers
![Page 4: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/4.jpg)
Organisers
Chris Koiak Jon Carlos @chriskoiak @billywizz !
Gordon Langford David Conlisk @kodejack @dconlisk
![Page 5: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/5.jpg)
Screenmedia
“Scotland’s first Xamarin Premier Consulting Partner”
www.screenmedia.co.uk
![Page 6: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/6.jpg)
Cross Platform Mobile Development with C#
![Page 7: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/7.jpg)
Xamarin Platform
• One language & framework
• Create native apps
• IDEs: Visual Studio or Xamarin Studio
C#
![Page 8: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/8.jpg)
Why Xamarin?• Full control
• Familiar development environment
• Native controls
• Native performance
• Code reuse
• Active component store
![Page 9: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/9.jpg)
Why not Xamarin?
• You need a licence
• It’s not a shared UI Platform
• You need to understand each platforms UI controls and UX paradigms
• You need a Mac for iOS dev
![Page 10: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/10.jpg)
Xamarin Community
• 500,000 Developers worldwide
• forums.xamarin.com
• stackoverflow.com
• twitter.com
![Page 11: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/11.jpg)
MvvmCross
![Page 12: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/12.jpg)
Architecture - MVVM
Model
Business Logic & Service Layer
Data Access
View View View
View Model
Data Binding & Commands
![Page 13: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/13.jpg)
MvvmCross (Mvx)• Extensive framework used by many
• Great tutorials at
• mvvmcross.blogspot.co.uk
• https://github.com/MvvmCross/NPlus1DaysOfMvvmCross
• IoC & DI is out the box
• Plugins for platform dependent functionality
* Other MVVM frameworks are available: MVVMLight, ReactiveUI or roll your own.
![Page 14: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/14.jpg)
MvvmCross Plugins
• PhoneCall Plugin
• PictureChooser Plugin
• Location Plugin
• Network Plugin
• Messenger Plugin
!
Plugins are cross platform implementations of common functions that all adhere to the same interface
• SQLite Plugin
• DownloadCache Plugin
• File Plugin
• Accelerometer Plugin
• … and more
!
![Page 15: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/15.jpg)
DEMO !
Kitten List
![Page 16: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/16.jpg)
Demo: Q&A
![Page 17: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/17.jpg)
Two IDEs
• Visual Studio 2012/13 support with business licence
• Xamarin Studio is great too!
• Development and build can be separated
![Page 18: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/18.jpg)
PCL vs Linked Files• PCL support (Profile158) is stable-ish
• Try PCL until you can’t.
• Plugins are easy to write
• Existing codebase may not build under PCL (e.g. XmlDocument or DataTable)
!
![Page 19: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/19.jpg)
Resources• https://github.com/jamesmontemagno/
MeetupManager/
• https://github.com/MvvmCross/NPlus1DaysOfMvvmCross
• Twitter : @slogde, @mvvmcross, @jamesmontemagno, @fastchicken, @paulbetts, @xamarinhq, @cheesebaron, @mikebluestein, @redth
![Page 20: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/20.jpg)
Q&A Panel
![Page 21: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/21.jpg)
Next Meetup
• Once a month
• Details will go on meetup.com
• Speakers and Venues required
• Suggest topics for discussion
![Page 22: Cross platform mobile development with C#](https://reader033.vdocument.in/reader033/viewer/2022060107/554a4a36b4c905863d8b5776/html5/thumbnails/22.jpg)
Thank You