Pivot Control for time display • Use MarketplaceReviewTask to Review app • Use EmailComposeTask to Share app • Live tile using ScheduleTileNotification
marketplaceUrl = "http://bit.ly/acLe1V"; var emailTask = new EmailComposeTask(); emailTask.Subject = "Days Until Christmas on Windows Phone 7!"; var sb = new StringBuilder(); sb.Append(String.Format("Hey!\ nCheck out this days until Christmas app on the Windows Phone 7 marketplace! Don't worry, it's free. \ nDownload here: {0}\ n", marketplaceUrl)); sb.Append(String.Format("Only {0} {1} left until Christmas!\ n", _time.DaysUntil.ToString(),(_time.DaysUntil == "01") ? "day": "days")); sb.Append("Merry Christmas\ n"); emailTask.Body = sb.ToString(); emailTask.Show();
app that needs a constantly updating icon! • 2011 the live tile was online only... • http://daysuntilxmaswp7.info/{0}/image.png where {0} is the time offset • Provided analytics based on the information sent to the server
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...
ScrollView + Hacks for time display, abusing ViewChanged / Storyboards • Reviewing the app is build 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
??? • MarketUri and Activity to Review the app • Sharing is built with a ShareActionProvider • Settings is done via the menu option and alert dialog • No live tile... again • In the future...
IOS • Get the code from github.com/chrisntr/daysuntilxmas • Apache 2.0 license • Analytics removed • Uses Xamarin.iOS and works great on the Starter edition • Xamarin.Android version to be open sourced soon in an unfinished state... • Windows Phone and Windows 8 versions to be open sourced soon