Craig Dunn Developer Evangelist Xamarin [email protected] @conceptdev Mobile apps with C# //build update edition Sydney, April 2014
May 07, 2015
Craig DunnDeveloper EvangelistXamarin
[email protected]@conceptdev
Mobile apps with C#//build update edition
Sydney, April 2014
Mobile apps with C#
XamarinC# on iOS and Android
//build
build a cross-plat app
get a Xamarin t-shirt
PCLVS2013
Modern language C#
Shared code
High performance
You
Us
Them
C# Development Environments
Mac OS X WindowsWindows
IDE
iOS
Android
Windows Phone
Windows Store
XamarinBusiness Edition
+
Mac+
C# Development Environments
iOS Apps in Visual Studio !?
//build
Miguel’s talk
http://channel9.msdn.com/Events/Build/2014/3-653
Go Mobile with C# and Xamarin
Roslyn & Xamarin
http://tirania.org/blog/archive/2014/Apr-09.html
• Keep track of Roslyn... ‘works’ now tho’ :-)
• Incorporate C# 6.0 features into Mono
• “The second one is that our compiler powers our Interactive C# Shell and we are about to launch something
very interesting with it. This functionality is not currently available on the open sourced Roslyn stack.”
• “Roslyn really shines for IDEs” so we’ll look at how to use it in Xamarin Studio / NRefactory
iOS UI Designer
Visual St
udio
coming..
.
Shared Projects• File Linking / VS 2012 Project Linker extension “on steroids”
• Viable alternative to Portable Class Libraries for some uses
• PCLs still great for component builders (esp with NuGet)
• Shared Projects might be better for app builders
• Coming to Visual Studio (download preview now) and Xamarin Studio (soon)
Portable Class Libraries• “PCL assembly” is
generated, shared
• limited framework code (predetermined by PCL profile)
• Dependency Injection for platform-specific features
• #if compiler directives not allowed
Shared Projects
• no separate “output assembly”, C# is compiled into the referencing apps
• use any framework code available on your target platforms
• use #if compiler directives
demo
“NDCPortable”
code walkthrough
https://github.com/conceptdev/xamarin-samples/tree/master/NDCPortable
go...
“NDCCloud”
code walkthrough
https://github.com/conceptdev/xamarin-samples/tree/master/NDCCloud
Xamarin t-shirt
1. Visit http://xamarin.com/sharp-shirt
2. Download, build & run
3. “fix” app and run again
4. Order your shirt - FREE!
Cross-PlatformsGoogle Glass http://blog.xamarin.com/develop-for-google-glass-with-xamarin.android/
Google Chromecast http://www.knowing.net/index.php/2013/08/11/chromecast-xamarin-binding-and-sample-source-code-on-github/
Amazon Fire HDhttp://forums.xamarin.com/discussion/6647/how-to-set-up-kindle-hd-for-development
Amazon Fire TV...
https://github.com/conceptdev/xamarin-samples/NDCPortable https://github.com/conceptdev/xamarin-samples/NDCCloud
https://github.com/xamarin/mobile-samples/
LinksToday’s demo
General samples