days until xmas: from windows phone to ios to windows 8 seminar

24
Xamarin Seminar 20th December 2012 Days Until Xmas: From Windows Phone to iOS to Windows 8

Upload: xamarin

Post on 05-Dec-2014

1.928 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

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

Days Until Xmas - Windows Phone

Xamarin

Page 4: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Days Until Xmas - iOS

Xamarin

Page 5: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Days Until Xmas - Windows 8

Xamarin

Page 6: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Windows Phone - 2010

Xamarin

Page 7: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

Windows Phone - 2010

Xamarin

Page 9: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

Windows Phone - 2011

Xamarin27,326 downloads!

Page 11: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

iOS - 2012

Xamarin

Page 12: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

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

iOS - 2012

Xamarin

Page 15: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

iOS - 2012

Xamarin

Page 16: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Windows 8 - 2012

Xamarin

Page 17: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

Windows 8 - 2012

Xamarin

Page 19: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Windows 8 - 2012

Xamarin

Page 20: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Windows 8 - 2012

Xamarin

Page 21: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

Days Until Xmas

Xamarin

Sharing the app - daysuntilxmas.com

Page 22: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

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

You have Questions?

Xamarin

Page 24: Days Until Xmas: From Windows Phone to iOS to Windows 8 Seminar

XamarinSeminar

20th December 2012

Please give us your feedback

Follow us on Twitter

http://bit.ly/xamfeedback

@XamarinHQ