Slide 1

Slide 1 text

Chris Hardy C# Contractor twitter.com/chrisntr REAL CROSS-PLATFORM MOBILE APPLICATIONS - THE ANTI-PATTERN

Slide 2

Slide 2 text

DAYS UNTIL XMAS - WINDOWS PHONE DAYSUNTILXMAS.COM

Slide 3

Slide 3 text

DAYS UNTIL XMAS - IOS

Slide 4

Slide 4 text

DAYS UNTIL XMAS - WINDOWS 8

Slide 5

Slide 5 text

WINDOWS PHONE - 2010

Slide 6

Slide 6 text

WINDOWS PHONE - 2010 • DispatchTimer for Snow/Time timer • Pivot Control for time display • Use MarketplaceReviewTask to Review app • Use EmailComposeTask to Share app • Live tile using ScheduleTileNotification

Slide 7

Slide 7 text

MARKETPLACE REVIEW • http://wp7reviews.tomverhoeff.com • Over 1,200 reviews reviewBu(on.Click  +=  (s,  e)  => {            AboutFlipBack.Begin();            var  reviewTask  =  new  MarketplaceReviewTask();            reviewTask.Show(); };

Slide 8

Slide 8 text

EMAIL COMPOSE TASK • No other sharing functionality const string 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();

Slide 9

Slide 9 text

LIVE TILE WITH SCHEDULE TILE NOTIFICATION • Don’t build an 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

Slide 10

Slide 10 text

WINDOWS PHONE - 2010

Slide 11

Slide 11 text

WINDOWS PHONE - 2011 • 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!

Slide 12

Slide 12 text

WINDOWS PHONE - 2011 27,326 DOWNLOADS!

Slide 13

Slide 13 text

WINDOWS PHONE - 2012/13 OVER 80,000 DOWNLOADS!

Slide 14

Slide 14 text

IOS - 2012

Slide 15

Slide 15 text

IOS - 2012 • 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...

Slide 16

Slide 16 text

SHARING CODE • No shared code, copy and pasted code. Bad, I know... • MusicOptions, TimeInformation, TimeHelper and defaults • Sharing thoughts and ideas OR NOT...

Slide 17

Slide 17 text

IOS - 2012

Slide 18

Slide 18 text

IOS - 2012

Slide 19

Slide 19 text

WINDOWS 8 - 2012

Slide 20

Slide 20 text

WINDOWS 8 - 2012 • DispatchTimer for Snow/Time timer • 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

Slide 21

Slide 21 text

WINDOWS 8 - 2012

Slide 22

Slide 22 text

WINDOWS 8 - 2012

Slide 23

Slide 23 text

WINDOWS 8 - 2012

Slide 24

Slide 24 text

WINDOWS 8 - 2012

Slide 25

Slide 25 text

IOS - 2013

Slide 26

Slide 26 text

ANDROID - 2013

Slide 27

Slide 27 text

ANDROID - 2013 • Used Animation and AnimationDrawable • ScrollView ??? • 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...

Slide 28

Slide 28 text

BUILD YOUR OWN COUNTDOWN APP? OPEN SOURCING DAYS UNTIL XMAS 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

Slide 29

Slide 29 text

SHARING THE APP - DAYSUNTILXMAS.COM

Slide 30

Slide 30 text

SHARING THE APP • iOS • Windows 8 DAYSUNTILXMAS.COM

Slide 31

Slide 31 text

APP REVIEWS

Slide 32

Slide 32 text

“It's fun because you don't forget how many days there is le! lol”

Slide 33

Slide 33 text

- User 5 Stars “It's fun because you don't forget how many days there is le! lol” Dec 27th 2012

Slide 34

Slide 34 text

“Yer...pointless really.”

Slide 35

Slide 35 text

- Sophie 2 Stars “Yer...pointless really.” Dec 18th 2012

Slide 36

Slide 36 text

“3stars cause it tells you how long CHRISTMAS is!!!! =)”

Slide 37

Slide 37 text

- User 3 Stars “3stars cause it tells you how long CHRISTMAS is!!!! =)” Dec 11th 2012

Slide 38

Slide 38 text

“I love this app its really cool :D and I will I use is every day for my life. My cousins love it and the falling snow is a blast”

Slide 39

Slide 39 text

- Belinda 5 Stars “I love this app its really cool :D and I will I use is every day for my life. My cousins love it and the falling snow is a blast” Dec 26th 2012

Slide 40

Slide 40 text

“That is stupid you calculate simply time to get to Christmas ... Ufffffffff because it does so yucky Windows Phone??????/,”

Slide 41

Slide 41 text

- Rita 1 Star “That is stupid you calculate simply time to get to Christmas ... Ufffffffff because it does so yucky Windows Phone??????/,” Dec 11th 2012

Slide 42

Slide 42 text

“This is super cute and works just the way I would expect it to. I love Christmas!!”

Slide 43

Slide 43 text

- Maya Bree 5 Stars “This is super cute and works just the way I would expect it to. I love Christmas!!” Jan 24th 2013

Slide 44

Slide 44 text

Q&A

Slide 45

Slide 45 text

THANK YOU CHRISNTR TWITTER.COM/CHRISNTR