Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...
Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar
description
Transcript of Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar
![Page 1: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/1.jpg)
XamarinSeminar
20th December 2012
Days Until Xmas: From Windows Phone to iOS to Windows 8
![Page 2: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/2.jpg)
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
![Page 3: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/3.jpg)
Days Until Xmas - Windows Phone
Xamarin
![Page 4: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/4.jpg)
Days Until Xmas - iOS
Xamarin
![Page 5: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/5.jpg)
Days Until Xmas - Windows 8
Xamarin
![Page 6: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/6.jpg)
Windows Phone - 2010
Xamarin
![Page 7: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/7.jpg)
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
![Page 8: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/8.jpg)
Windows Phone - 2010
Xamarin
![Page 9: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/9.jpg)
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!
![Page 10: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/10.jpg)
Windows Phone - 2011
Xamarin27,326 downloads!
![Page 11: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/11.jpg)
iOS - 2012
Xamarin
![Page 12: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/12.jpg)
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...
![Page 13: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/13.jpg)
Sharing code...
Xamarin
• No shared code, copy and pasted code. Bad, I know...
• MusicOptions, TimeInformation and defaults
• Sharing thoughts and ideas
or not...
![Page 14: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/14.jpg)
iOS - 2012
Xamarin
![Page 15: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/15.jpg)
iOS - 2012
Xamarin
![Page 16: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/16.jpg)
Windows 8 - 2012
Xamarin
![Page 17: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/17.jpg)
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
![Page 18: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/18.jpg)
Windows 8 - 2012
Xamarin
![Page 19: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/19.jpg)
Windows 8 - 2012
Xamarin
![Page 20: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/20.jpg)
Windows 8 - 2012
Xamarin
![Page 21: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/21.jpg)
Days Until Xmas
Xamarin
Sharing the app - daysuntilxmas.com
![Page 22: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/22.jpg)
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"/>
![Page 23: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/23.jpg)
You have Questions?
Xamarin
![Page 24: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar](https://reader034.fdocuments.us/reader034/viewer/2022051610/548b4bd7b47959f60c8b5ff9/html5/thumbnails/24.jpg)
XamarinSeminar
20th December 2012
Please give us your feedback
Follow us on Twitter
http://bit.ly/xamfeedback
@XamarinHQ