Contenu connexe
Similaire à Mobiiliaamiainen 8.11.2012: Petri Niemi, Windows (Phone) 8 and html5
Similaire à Mobiiliaamiainen 8.11.2012: Petri Niemi, Windows (Phone) 8 and html5 (20)
Mobiiliaamiainen 8.11.2012: Petri Niemi, Windows (Phone) 8 and html5
- 3. 3
Internet 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
WinRT on Windows 8
• Note: ”Metro” is now actually called ”Modern UI”
Copyright © Tieturi
- 5. 5
HTML5 & 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
- 7. 7
HTML5 & 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