Mobiiliaamiainen 8.11.2012: Petri Niemi, Windows (Phone) 8 and html5

452 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
452
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mobiiliaamiainen 8.11.2012: Petri Niemi, Windows (Phone) 8 and html5

  1. 1. Windows (Phone) 8 andHTML5Petri Niemi – Tieturi Oy
  2. 2. 2Introduction• Petri Niemi • Specialist, Tieturi Oy• Mainly focused on: • Java • JavaScript (& other web stuff) Copyright © Tieturi
  3. 3. 3Internet Explorer 10• The only IE version available for Windows 8 and Windows Phone 8• HTML5 and JavaScript support are based on this browser’s capabilities • The new ”Chakra” JavaScript engine, for example• For more details on what it can do, visit: • http://bitly.com/xGvCJx (msdn.microsoft.com) • http://caniuse.com/ • http://html5test.com/ Copyright © Tieturi
  4. 4. 4WinRT on Windows 8• Note: ”Metro” is now actually called ”Modern UI” Copyright © Tieturi
  5. 5. 5HTML5 & JS in WinRT• First class citizens in Windows 8 • The same platform APIs exposed to JavaScript as to e.g. C#• WinJS library with: • Modern UI controls • Templates • Bindings • …• One of the main ways of creating native Modern UI style apps • Distributed via Windows Store • http://www.windowsstore.com/ Copyright © Tieturi
  6. 6. 6Demo – WinJS Copyright © Tieturi
  7. 7. 7HTML5 & JS in Windows Phone 8• WP8 has only a subset of WinRT • Does not support native HTML5 & JS apps• You can have a browser control in your app to run web content – that’s it! • No WinJS to assist you • No access to platform APIs • In effect it is just a mini web page within the application• All this was already possible in WP7.x Copyright © Tieturi
  8. 8. 8Demo – Browser Control in WP8 Copyright © Tieturi
  9. 9. Thank You!Any questions?

×