2. 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.
9. 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
13. 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.
14. MvvmCross Plugins
Plugins are cross platform implementations
of common functions that all adhere to the
same interface
•
PhoneCall Plugin
•
SQLite Plugin
•
PictureChooser Plugin
•
DownloadCache Plugin
•
Location Plugin
•
File Plugin
•
Network Plugin
•
Accelerometer Plugin
•
Messenger Plugin
•
… and more
17. Two IDEs
•
Visual Studio 2012/13
support with business
licence
•
Xamarin Studio is great too!
•
Development and build can
be separated
18. 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)
!