PREPARINGFORWINDOWSPHONE 8Matt Lacey   @mrlacey
@wpughttp://wpug.net/
http://www.DevEvening.co.uk/       @DevEvening
me
you
Theres a new version of WindowsPhone coming…- But what does this mean for developers?- Whats new?- Whats changed?- How do ...
http://www.flickr.com/photos/richardnorth/7319092260/in/photostream/
Theres a new version of WindowsPhone coming…- But what does this mean for developers?- Whats new?- Whats changed?- How do ...
?
Samsung ATIV S
Nokia Lumia 920 & 820
HTC 8-X & 8-S
what does this mean     for developers?flickr.com/photos/69302634@N02/7111451171/
possibilities     new    better
more sales?...  devices > apps
what’s new?flickr.com/photos/robbersdog/2186879163/
shared core  with Win8
WinRT
WinPRT?
WP7            WP8managed code   managed code  WP7 API        WP8 APIWinCE/Win32      WinPRT
compile in the cloud   makes no difference    to dev experience
WP7.X apps run  unaltered
app distribution  big changes and    opportunities
company hubsenterprise distribution
In app purchase image
in-app payments  the missing link?
“among the highest grossing              revenue models”“comes out ahead of other revenue models in terms of per-app, per-...
NFCWindows.Networking.Proximity ?
“speech”reconsider input
app to app comms  not share contracts
Groupon image
Facebook image
pass commands to apps  and with speech launch
native code But no XNA
what’s changed?flickr.com/photos/thurm/1567180774/
SDKVS2012 & Win8
multiple coresmakes no(?) difference
new screen sizes  redesign for them
+ WXGA & 720P  1280x768 15:9  1280x720 16:9
imagesyou’ll want to do more
imagesbeware alignment
imagesbeware hardcoding   dimensions
imagesscaling down is better   than scaling up
imagesCan impact XAP size
Tiles image
tilesresize images yourself
multi-tasking “improvements”      no real details yet
removable SD cards    intranet install
50 & 180+languages & countries
IE10now good enough?
Nokia maps  go offline
SQLitetruly cross platform DB
Other changes?  Control changes?   New controls?  Toolkit changes?
how do you upgrade             an existing            WP 7.x app?flickr.com/photos/babbletrish/528807399/
how do you supportWP7.x & WP8 with  one codebase?
WP7.X apps run  unaltered      …
7.8apps also run on 8
how do you develop   for Windows Phone and        Windows 8?flickr.com/photos/manicstreetpreacher/471712788/
"reuse code“"recommend not sharing UI"
write oncesuck everywhere
Support multipleplatforms sooner
No magic bullet         fork      link files    shared library #compiler directives
forking aboutpros                         cons• Easy to change one         • Duplication  without affecting others   • Dup...
missing linkpros                             cons• I think it’s awesome!          • Lots of people don’t like it• Only one...
sharing librariespros                        cons• Single copy of code       • Only LCD functionality• All related code in...
#compilepros             cons• One file       • Still need to share that file                 • Can get very complicated
V        VVM       VM     M
what else?flickr.com/photos/eviltomthai/3629984507/
PREPARE
SDK coming“later this summer”    – apparently
promotionopportunities
learn Win8port your apps
taflickr.com/photos/mattmendick/3703283792/
Preparing for WP8
Preparing for WP8
Preparing for WP8
Preparing for WP8
Upcoming SlideShare
Loading in …5
×

Preparing for WP8

1,818 views

Published on

Slides from presentation given at WPUG, DDD10 & DDDNorth about what's coming in WP8 and what developers can do now, before more information and the SDK are available.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,818
On SlideShare
0
From Embeds
0
Number of Embeds
1,075
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Won’t be offended if you think you’re in the wrong room and want to leave
  • I do this all day every dayWP 2.5 years“mobile” >8 yearsDev >13 yearsBuilt lots of WP apps for big names companies (including MSFT)
  • Done or at least looked at some WP7 development- Quick poll of who has made apps & who knows nothing- Smart enough to know to ask questions as we go
  • This is what was promisedNo secrets – no broken NDAs ;)No code – again I won’t be offended if you want to leave now
  • No commentPublic information+ informed assumptions based on public information ;)
  • This is what was promisedNo secrets – no broken NDAs ;)No code – again I won’t be offended if you want to leave now
  • To late in principle? – Can WP really catch up with other platforms?If I'm honest, in the last two and a half years I've been on the verge of giving up on Windows Phone maybe four or five times.The possibilities that Windows Phone 8 could bring left me excited.There was a 2 day developer event planned.OK so it was invite only and I wasn't invited but the possibility of what could be announced was still promising.Then it became a 1 day event.And finally it became a 2 hour press event.The focus was on high level features and no developer specifics.Initially this was disappointing but after some analysis there's actually a lot we can learn from this as developersTo late for developers?Would you have preferred less or buggy?They’ve always said they’d release when it’s ready and not be driven by external timescalesOf course it would have been nicer to have an SDK before now but it’s not going to make a real difference in the long run.To late in the year for sales?It’s different to previous yearsThe number of apps in the marketplace is no longer a real factor.Most of the big names are thereThere will be apps which make use of the new features and functionalityDevices are on track to be available by the important holiday sales periodsThere will be as yet unannounced features to drive newsworthy stories closer to launch (not months in advance) and avoid informing the competition of what they’re planningFeb - announce of existenceApril/May -SDK originally expected (based on previous years)June – WP SummitAug/Sept – 1st device detailsSept? – SDK hopefullyLate Oct? – first devicesExpectations based on pastwp releasesCompare with Apple/iOSNo right to indignation
  • - do what couldn't before- do things better- provide a betterux
  • Shared WinRT coreWill make code reuse easier : namespacesStill don't want a shared ui
  • Shared WinRT coreWill make code reuse easier : namespacesStill don't want a shared ui
  •  CinC = perf improvements in running apps - as no jitting and ability to offer further optimisations in compilation Can we expect a change in XAML?Would XAML really be recompiled in the cloud?What about XAML loaded at run time? - surely that means the XAML won't change. Or apps will need to be altered. Maybe?Would/does it matter? Markup is on top of the managed layer which is on top of the native/OS layer - it's that that's changed
  • means different XAML namespaces?RichTextBox.XAMLDynamically loading styles, etc.
  • And Win8 too?
  • Now limits of the system won’t be a limit or an excuse on how you can’t monitise apps
  • If it's just basic sharing than that'll be ok.It's something else we can do from/with/in an app If it gives us a helpful, simple managed way to implement data storage, key manipulation and encryption then we could do some much more exciting stuff
  • Ignore native code for nowWe don't know enough about what we'll be able to do with it beyond DirectXWe don't know how it will integrate with the managed stackNative CodeMore big names apps is better for the platform = more salesLong term it's the alternative to XNA and provides cross platform capabilities (not forgetting MonoGame though)Native & XAML mix (like XNA & Silverlight?) - So Native knows about Managed lifecycle?“Windows Phone 8 will support three approaches to developing apps. First, as is the case today, a developer will be able to choose to build his or her Metro UI in XAML. Second, developers will also be able to use Direct3D to build their game UI or to port over existing UI framework libraries. Third, Windows Phone will support HTML5 development using standards-based web control, which will allow developers to reuse their HTML5 content. Last, developers will be able to use any or all of these approaches in combination to create or port back and forth apps”
  • Emulator is Hyper-V image so will need Win8Will target 7.8 & 8
  • Multiple cores provides no developer opportunity : still need to consider user experience and responsiveness — don't slow down the ui threadKeep doing things asynchronously
  • Fragmentationvs multiple screen sizes
  • Autoresize if don't do anything Show auto adjusted screenshots from top apps720P --- stretch or letterboxingletterboxing 80px
  • Autoscaling won't affect fonts or vectors but will affect bitmapsAssume multiple images defined as per MSAsimage.pngimage.scale-140.pngimage.scale-180.png
  • Learn about relative sizing & how stretch works – beware what blend does (it likes adding specific values)
  • + hi-res marketplace image????
  • Remember retina display versions
  • Show fake app
  • Current – 173xSmall - Med - 210Large -
  • Improvement != fundamental change- probably not the end of tombstoning and FASIncreased functionality with background agents (access to location)
  • SD cards : Need to think more about disk space and file access. Does this give us shared data? Need to consider the consequencesAlternative marketplaces? Unlikely?... Based on WP7 security principles
  •  marketplace improvements (rewritten)
  • Better embedded contentphoneGap a viable solution?Js speed 4x faster2x html5 capabilitiesRender time?
  • Performance progress bar | tilt | other toolkit controls*** End of Feature list ****> How upgrade?
  • You may not want to but it’ll be very easyAnswer the next question at the same time
  • As mentioned earlier – you may not want to
  • Probably want to upgrade 7.x apps to 7.8 to support people with existing devices
  • “strong similarity to Windows 8”, “easy to port”
  • Different solutions for: different problems; different teams; personal preferences
  • Good for lowest common denominator functionalityNot suitable for code with 3rd party dependencies
  • Speculate at will. September? Build?
  • create an opportunity for promotion:- Better- Different- Demonstrate the platform
  • Get familiar with itYou said you were interested anywayGet familiar with VS2012Dev Camp + AppLab > Store + rewards
  • Preparing for WP8

    1. 1. PREPARINGFORWINDOWSPHONE 8Matt Lacey @mrlacey
    2. 2. @wpughttp://wpug.net/
    3. 3. http://www.DevEvening.co.uk/ @DevEvening
    4. 4. me
    5. 5. you
    6. 6. Theres a new version of WindowsPhone coming…- But what does this mean for developers?- Whats new?- Whats changed?- How do you upgrade an existing WP 7.x app?- How do you support WP7.x & WP8 with one codebase?- How do you develop for WP and Windows 8?
    7. 7. http://www.flickr.com/photos/richardnorth/7319092260/in/photostream/
    8. 8. Theres a new version of WindowsPhone coming…- But what does this mean for developers?- Whats new?- Whats changed?- How do you upgrade an existing WP 7.x app?- How do you support WP7.x & WP8 with one codebase?- How do you develop for WP and Windows 8?
    9. 9. ?
    10. 10. Samsung ATIV S
    11. 11. Nokia Lumia 920 & 820
    12. 12. HTC 8-X & 8-S
    13. 13. what does this mean for developers?flickr.com/photos/69302634@N02/7111451171/
    14. 14. possibilities new better
    15. 15. more sales?... devices > apps
    16. 16. what’s new?flickr.com/photos/robbersdog/2186879163/
    17. 17. shared core with Win8
    18. 18. WinRT
    19. 19. WinPRT?
    20. 20. WP7 WP8managed code managed code WP7 API WP8 APIWinCE/Win32 WinPRT
    21. 21. compile in the cloud makes no difference to dev experience
    22. 22. WP7.X apps run unaltered
    23. 23. app distribution big changes and opportunities
    24. 24. company hubsenterprise distribution
    25. 25. In app purchase image
    26. 26. in-app payments the missing link?
    27. 27. “among the highest grossing revenue models”“comes out ahead of other revenue models in terms of per-app, per-month revenues” “monetizing 2.2 times more than apps without” http://www.visionmobile.com/product/developer-economics-2012/
    28. 28. NFCWindows.Networking.Proximity ?
    29. 29. “speech”reconsider input
    30. 30. app to app comms not share contracts
    31. 31. Groupon image
    32. 32. Facebook image
    33. 33. pass commands to apps and with speech launch
    34. 34. native code But no XNA
    35. 35. what’s changed?flickr.com/photos/thurm/1567180774/
    36. 36. SDKVS2012 & Win8
    37. 37. multiple coresmakes no(?) difference
    38. 38. new screen sizes redesign for them
    39. 39. + WXGA & 720P 1280x768 15:9 1280x720 16:9
    40. 40. imagesyou’ll want to do more
    41. 41. imagesbeware alignment
    42. 42. imagesbeware hardcoding dimensions
    43. 43. imagesscaling down is better than scaling up
    44. 44. imagesCan impact XAP size
    45. 45. Tiles image
    46. 46. tilesresize images yourself
    47. 47. multi-tasking “improvements” no real details yet
    48. 48. removable SD cards intranet install
    49. 49. 50 & 180+languages & countries
    50. 50. IE10now good enough?
    51. 51. Nokia maps go offline
    52. 52. SQLitetruly cross platform DB
    53. 53. Other changes? Control changes? New controls? Toolkit changes?
    54. 54. how do you upgrade an existing WP 7.x app?flickr.com/photos/babbletrish/528807399/
    55. 55. how do you supportWP7.x & WP8 with one codebase?
    56. 56. WP7.X apps run unaltered …
    57. 57. 7.8apps also run on 8
    58. 58. how do you develop for Windows Phone and Windows 8?flickr.com/photos/manicstreetpreacher/471712788/
    59. 59. "reuse code“"recommend not sharing UI"
    60. 60. write oncesuck everywhere
    61. 61. Support multipleplatforms sooner
    62. 62. No magic bullet fork link files shared library #compiler directives
    63. 63. forking aboutpros cons• Easy to change one • Duplication without affecting others • Duplication • Duplication
    64. 64. missing linkpros cons• I think it’s awesome! • Lots of people don’t like it• Only one copy of code• Easy to extend – Partial classes & methods
    65. 65. sharing librariespros cons• Single copy of code • Only LCD functionality• All related code in one • Harder to extend place – Event based
    66. 66. #compilepros cons• One file • Still need to share that file • Can get very complicated
    67. 67. V VVM VM M
    68. 68. what else?flickr.com/photos/eviltomthai/3629984507/
    69. 69. PREPARE
    70. 70. SDK coming“later this summer” – apparently
    71. 71. promotionopportunities
    72. 72. learn Win8port your apps
    73. 73. taflickr.com/photos/mattmendick/3703283792/

    ×