Upload
xamarin
View
1.932
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
XamarinSeminar
20th December 2012
Days Until Xmas: From Windows Phone to iOS to Windows 8
AgendaDays Until Xmas:
From Windows Phone to iOS to Windows 8Chris Hardy
Xamarin
C# Contractor, works with [email protected]: @chrisntr
Professional iPhone Programming with MonoTouch and .NET/C# (Co-Author)http://amzn.to/12mvx0m
Professional Android Programming with Mono for Android and .NET/C# (Co-Author)http://amzn.to/MyKMZy
Days Until Xmas - Windows Phone
Xamarin
Days Until Xmas - iOS
Xamarin
Days Until Xmas - Windows 8
Xamarin
Windows Phone - 2010
Xamarin
Windows Phone - 2010
Xamarin
• DispatchTimer for Snow/Time timer
• Pivot Control for time display
• Use MarketplaceReviewTask to Review app
• Use EmailComposeTask to Share app
• Live tile using ScheduleTileNofication
Windows Phone - 2010
Xamarin
Windows Phone - 2011
Xamarin
• 6,151 installs from 1st Jan 2011 to 8th Nov 2011
• Updated Live Tile to be local
• Updated the description before publishing - oops.
• Featured on the Marketplace!
Windows Phone - 2011
Xamarin27,326 downloads!
iOS - 2012
Xamarin
iOS - 2012
Xamarin
• NSTimer.CreateRepeatingScheduledTimer for time countdown
• CAEmitterLayer for snow falling
• Two UIScrollViews for time display, abusing DecelerationEnd and SetContentOffset
• NSUrl.OpenUrl for Reviewing the app
• UIActivityView for sharing with friends
• No live tile...
Sharing code...
Xamarin
• No shared code, copy and pasted code. Bad, I know...
• MusicOptions, TimeInformation and defaults
• Sharing thoughts and ideas
or not...
iOS - 2012
Xamarin
iOS - 2012
Xamarin
Windows 8 - 2012
Xamarin
Windows 8 - 2012
Xamarin
• DispatchTimer for Snow/Time timer
• ScrollViewer + Hacks for time display, abusing ViewChanged / Storyboards
• Reviewing the app is built in (I found out the hard way)
• Sharing is built in with DataTransferManager
• Settings different on Windows Phone/iOS and Windows 8
• Live Tile on Lock Screen
Windows 8 - 2012
Xamarin
Windows 8 - 2012
Xamarin
Windows 8 - 2012
Xamarin
Days Until Xmas
Xamarin
Sharing the app - daysuntilxmas.com
Days Until Xmas
Xamarin
Sharing the app - daysuntilxmas.com
iOS
<meta name="apple-itunes-app" content="app-id=0000000">
Windows 8
<meta name="msApplication-ID" content="appId"/><meta name="msApplication-PackageFamilyName" content="name"/>
You have Questions?
Xamarin
XamarinSeminar
20th December 2012
Please give us your feedback
Follow us on Twitter
http://bit.ly/xamfeedback
@XamarinHQ