SlideShare a Scribd company logo
| Lausanne

Windows Store Apps using HTML
and JavaScript: Become a Windows
App Store developer in 60 minutes
Valérie Alonso
Xavier Bocken
Sacha Bruttin
Become an Office 365 developer in 60
min
Valerie Alonso, Lead Associate
valerie.alonso@b-i.com

Xavier Bocken, Microsoft Practice Manager
xavier.bocken@b-i.com
http://ch.linkedin.com/in/xbocken

Sacha Bruttin, Senior Consultant
sacha.bruttin@b-i.com

http://bruttin.com/
Everyday our +350 experts strive to
bring together their expertise to
provide pragmatic, award-wining
solutions to industry leaders.
DIGITAL MARKETING

USER EXPERIENCE

Strategy, Planning
Creative
CRM and E-Commerce
Online Advertising, SEO/SEM
Social Media
Mobile

Usability Analysis
User research
User journey and flows
Interaction Design
Prototyping
Wire-faming

APPLICATION DEVELOPMENT
 Collaboration
 Business Intelligence
 CRM
 Systems Integration
 Development platforms

TECHNOLOGY & INFRASTRUCTURE





Service Management
Identify Management
Service Support
E-mail management






Systems Management
Security
Monitoring & BPM
Cloud Computing
TPG Lite

http://www.tpg.ch/application-iphone-ipad-et-ipod

http://www.windowsphone.com/fr-ch/store/app/tpg-lite/
bbc8c900-c9ac-43ce-a14b-aa2b01f03345
Agenda
Getting started: the user interface
Access data and content

Enrich your App: semantic zoom, favorites
Implement contracts: search
Wrap it up

Agenda
Windows 8 guidelines
Windows 8 guidelines
http://aka.ms/UXGuidelines
Windows 8.1 Product Guide: What’s new for developers
http://msdn.microsoft.com/en-us/windows/apps/bg184615.aspx
Windows 8.1: New APIs and features
http://msdn.microsoft.com/en-us/library/windows/apps/bg182410.aspx

WinRT API Reference
http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx
| Lausanne

Chapter 1/5

Getting started
Getting started: the UI
Define a vision for your app
•
•

List the TPG bus stops and bus wait times
Access to a list of favorites bus stops, with information updated in real time

Choose the layout of your UI / navigation scheme
•
•

Hierarchical navigation: more content organized into section/categories/details
Flat navigation: simple content

Flat navigation

Visual Studio templates
Navigation app template
Getting started: the UI
Windows sizes, continuous scaling and minimum
width
Getting started: the UI
Device sizes, scaling to screens and orientations

screen and (max-width: 1024px)
CSS3 media queries@media all and (orientation: portrait) {...} {...}
@media
| Lausanne

Getting started: the UI
Démo
Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes
| Lausanne

Chapter 2/5

Access data and
content
The TPG OpenData API
http://rtpi.data.tpg.ch/v1/ + developer key
•
•

GetStops.json
GetNextDepartures.json?stopCode=

censuré
The New Windows.Web.HttpClient
API new API for Windows 8.1, replacing:
Brand
•
•
•

WinJS.xhr for JavaScript;
System.Net.Http.HttpClient in C# and VB;
IXMLHTTPRequest2 for C++

Highlights for JavaScript programming:
•
•
•
•

Strongly typed HTTP headers
Access to cookies and shared cookies
A lot more control over caching behavior
Powerful HTTP protocol filters
The New Windows.Web.HttpClient
API example
Simple
The New Windows.Web.HttpClient
API control over
More
caching behavior
The F12 tools equivalent in VS 2013
F12 debugging tools have been rebuilt from the ground up in IE 11
•
•

DOM Explorer: intellisense auto-complete for attributes and CSS
No-refresh debugging, new tools: UI Responsiveness tool, Javascript Memory

•

Equivalent in Visual Studio 2013: Analyze > Performance and Diagnostics
| Lausanne

Access data and
content
Démo
Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes
| Lausanne

Chapter 3/5

Enrich your App
Enrich your App – Semantic zoom

Detailed level
Zoomed out level
Enrich your App – Semantic zoom
SemanticZoom control
•
•
•

Switch between two different views of the same content
Uses 2 controls: 1 for zoomed-in view and one for zoomed-out view
Inner controls must implement IZoomableView > ListView

// Create a WinJS.Binding.List from your data array.
var itemsList = new WinJS.Binding.List(myData);
// Create the groups for the ListView from the item data and the grouping functions
var groupedItemsList = itemsList.createGrouped(getGroupKey, getGroupData, compareGroups);
<div data-win-control="WinJS.UI.SemanticZoom">
<!-- The zoomed-in view. -->
<div id="zoomedInListView" data-win-control="WinJS.UI.ListView" />
<!--- The zoomed-out view. -->
<div id="zoomedOutListView" data-win-control="WinJS.UI.ListView" />
</div>
Enrich your App - Animations
Drag items within a list
JavaScript:
dragSourceStart

dragSourceEnd
dragBetweenEnter
dragBetweenLeave
Windows 8 App lifecycle
5 secs

Incremental save

Application data

Windows.Storage.ApplicationDat
localSettings / roamingSettings

Session data
WinJS.Application.sessionState

Restore application state
if (args.detail.previousExecutionState !==
activation.ApplicationExecutionState.terminated) {
// TODO: App newly launched. Initialize code goes here.
} else {
// TODO: App reactivated from suspension. Restore app state here.
}
| Lausanne

Enrich your App
Démo
Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes
| Lausanne

Chapter 4/5

Implement contracts
Windows 8 charms & contracts
App contracts
•

Contracts = agreement between one or more apps

Search contract
•

Add a search pane to search you app’s content and content from other apps

Share contract
•

Help users share content from your app with another and vice versa

Play To contract
•

Play digital media to connected DLNA devices

Settings contract
•

Provide quick, in-context to your app’s settings
Windows 8.1 search improvements
Search in Windows 8
•
Used the Search charm
•
Implement the Search contract + SearchPane API
Search in Windows 8.1
•
Use the Search charm for global searches
•
In-app search should use the SearchBox control

Up to 5 suggestions
Up to 3 history items
Image separators
| Lausanne

Implement search
Démo
| Lausanne

Chapter 5/5

Wrap it up!
Submit your app to the store
•
•
•
•
•
•

Open your Windows Store developer account
Reserve your app name
Choose a business model: free or not, trial, ad-supported
Choose the countries and regions where to sell your app
Test your app using the Windows App Certification Kit
Submit your app to the store
Windows App Certification Kit
App certification process
Upload > Security tests > Technical compliance > Content compliance
> Signing and publishing

Test the readiness of your Windows Store app for Win 8 and 8.1
•
•
•
•
•

Crash and hang tests
App manifest compliance, app capabilities
Performance, security
Package sanity check
Resource usage test
Helpful ressources
Windows Store app UI, start to finish
http://msdn.microsoft.com/en-us/library/windows/apps/dn263201.aspx

Windows 8.1: New APIs and features for developers
http://msdn.microsoft.com/en-us/library/windows/apps/bg182410.aspx
Microsoft Virtual Academy – Windows Store Apps with HTML5 Jump
Start
http://www.microsoftvirtualacademy.com/Content/ViewContent.aspx?et=
3921&m=3914&ct=19152#?fbid=yDB7PDIZ1Se&et=3921&m=3914&ct=
19152#fbid
Free ebook: Programming Windows 8 Apps with HTML, CSS and JavaScript
http://blogs.msdn.com/b/microsoft_press/archive/2012/10/29/free-ebookprogramming-windows-8-apps-with-html-css-and-javascript.aspx
Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes

More Related Content

What's hot (20)

PPTX
Developing with Adobe AIR
Peter Elst
 
DOCX
Get Codeigniter Developement Services From Us
Joe_Mason
 
PPTX
Build SPFx Solutions for SharePoint 2019
Suhail Jamaldeen
 
PPTX
Sys01 creare applicazioni virtuali con microsoft application virtualization...
DotNetCampus
 
PPTX
Introduction to SharePoint Framework
Kirti Prajapati
 
PPTX
SPFx (SharePoint Framework)
Małgorzata Borzęcka
 
PDF
Developing XPages Applications
Niklas Heidloff
 
PPTX
how to connect your app to the activity stream with x-pages
Frank van der Linden
 
PDF
Bring Order to the Chaos: Take the MVC Plunge
ColdFusionConference
 
PPTX
Windows8.1overviewnetponto
Alexandre Marreiros
 
PDF
Game Kettle Feb 2014 Gateshead
Lee Stott
 
PDF
REX Meetic, Comment la qualité reflète-t-elle nos organisations ?
meeticTech
 
PPTX
Build MSTeams Customizations with SPFx
Kirti Prajapati
 
PPT
Uncovering Windows - Silverlight Seminar
Abram John Limpin
 
PPTX
PHP Symfony MicroServices Migration @MeeticTech
meeticTech
 
PPT
ConnectED2015: IBM Domino Applications in Bluemix
Martin Donnelly
 
PPTX
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
DIWUG
 
PPTX
Azure Integration in Production with Logic Apps and more
BizTalk360
 
PPTX
Not Just Better, Faster - Expression and Sketchflow
MS Innovation Days
 
PPTX
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
Nuno Godinho
 
Developing with Adobe AIR
Peter Elst
 
Get Codeigniter Developement Services From Us
Joe_Mason
 
Build SPFx Solutions for SharePoint 2019
Suhail Jamaldeen
 
Sys01 creare applicazioni virtuali con microsoft application virtualization...
DotNetCampus
 
Introduction to SharePoint Framework
Kirti Prajapati
 
SPFx (SharePoint Framework)
Małgorzata Borzęcka
 
Developing XPages Applications
Niklas Heidloff
 
how to connect your app to the activity stream with x-pages
Frank van der Linden
 
Bring Order to the Chaos: Take the MVC Plunge
ColdFusionConference
 
Windows8.1overviewnetponto
Alexandre Marreiros
 
Game Kettle Feb 2014 Gateshead
Lee Stott
 
REX Meetic, Comment la qualité reflète-t-elle nos organisations ?
meeticTech
 
Build MSTeams Customizations with SPFx
Kirti Prajapati
 
Uncovering Windows - Silverlight Seminar
Abram John Limpin
 
PHP Symfony MicroServices Migration @MeeticTech
meeticTech
 
ConnectED2015: IBM Domino Applications in Bluemix
Martin Donnelly
 
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
DIWUG
 
Azure Integration in Production with Logic Apps and more
BizTalk360
 
Not Just Better, Faster - Expression and Sketchflow
MS Innovation Days
 
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
Nuno Godinho
 

Viewers also liked (15)

PDF
Market Access - Getting ready for Personalized Medicine!
executiveinsight
 
PPT
Presentación Francisco Irarrázaval​, - eCommerceForum Moda Santiago 2015
eCommerce Institute
 
PDF
Panex Resources Giro Goldfield Presentation (Feb 2014)
Commodity Investor
 
PDF
Ben Seymour "Practical Responsive Images"
Digital Henley
 
PPTX
Cardiovasculars ss
ganato2226
 
PDF
Multi channel workshop presentation
MintTwist
 
PPT
Desafios web 2.0
Monica Zega de Krutli
 
PDF
15 guia via de administracion de medicamentos
Alex Suarez Lastra
 
PPT
Zadig & Voltaire
Vincent Bogaers
 
ODP
Xenon(2)
mamen
 
PPT
Facts about Vertical Growing
Rob Smart
 
PDF
2012 coaching manual_for_web
ABYSA
 
DOC
Programa curso de postgrado medicina nutricional
Medicina Córdoba
 
PDF
Growth Hacking
Mattan Griffel
 
Market Access - Getting ready for Personalized Medicine!
executiveinsight
 
Presentación Francisco Irarrázaval​, - eCommerceForum Moda Santiago 2015
eCommerce Institute
 
Panex Resources Giro Goldfield Presentation (Feb 2014)
Commodity Investor
 
Ben Seymour "Practical Responsive Images"
Digital Henley
 
Cardiovasculars ss
ganato2226
 
Multi channel workshop presentation
MintTwist
 
Desafios web 2.0
Monica Zega de Krutli
 
15 guia via de administracion de medicamentos
Alex Suarez Lastra
 
Zadig & Voltaire
Vincent Bogaers
 
Xenon(2)
mamen
 
Facts about Vertical Growing
Rob Smart
 
2012 coaching manual_for_web
ABYSA
 
Programa curso de postgrado medicina nutricional
Medicina Córdoba
 
Growth Hacking
Mattan Griffel
 
Ad

Similar to Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes (20)

PDF
Windows 8 product guide developer english
Hoangminh Nguyen
 
PPTX
Windows 8 store apps development
Ahmed Emad
 
PDF
Essential Windows Phone 75 Application Development With Silverlight 1st Editi...
heinogruish2
 
PDF
Essential Windows Phone 7 5 Application Development with Silverlight 1st Edit...
tripisonjaq7
 
PPTX
Windows8.1 html5 dev paradigm discussion netponto
Alexandre Marreiros
 
PDF
Win j svsphonegap-damyan-petev-mihail-mateev
Mihail Mateev
 
PDF
Use html5 to build what you want, where you want it
Kevin DeRudder
 
PPTX
Presentation - Windows app development - I - Mr. Chandan Gupta
MobileNepal
 
PPTX
Become a Windows 8 and Windows Phone App Developer at TechDays
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
PDF
Building Beautiful and Interactive Windows 8 apps with JavaScript, HTML5 & CSS3
Doris Chen
 
PDF
Windows 8 app template feedback
Steren Giannini
 
PPTX
Windows store app development V1
Foyzul Karim
 
PPTX
Windows 8 DevUnleashed - Session 1
drudolph11
 
PPTX
01 introducing the windows phone 8.1
WindowsPhoneRocks
 
PPTX
Microsoft PT TechRefresh html win8.1
Alexandre Marreiros
 
PPTX
Mix 2010 twilight
Intergen
 
PDF
What Web Developers Need to Know to Develop Windows 8 Apps
Doris Chen
 
PPTX
WinJS at NYC Code Camp 2012
Dmitri Artamonov
 
PDF
Mihai Tataran - Building Windows 8 Applications with HTML5 and JS
ITCamp
 
PPTX
Windows Phone 8 App Development
DalpatTapaniya
 
Windows 8 product guide developer english
Hoangminh Nguyen
 
Windows 8 store apps development
Ahmed Emad
 
Essential Windows Phone 75 Application Development With Silverlight 1st Editi...
heinogruish2
 
Essential Windows Phone 7 5 Application Development with Silverlight 1st Edit...
tripisonjaq7
 
Windows8.1 html5 dev paradigm discussion netponto
Alexandre Marreiros
 
Win j svsphonegap-damyan-petev-mihail-mateev
Mihail Mateev
 
Use html5 to build what you want, where you want it
Kevin DeRudder
 
Presentation - Windows app development - I - Mr. Chandan Gupta
MobileNepal
 
Become a Windows 8 and Windows Phone App Developer at TechDays
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Building Beautiful and Interactive Windows 8 apps with JavaScript, HTML5 & CSS3
Doris Chen
 
Windows 8 app template feedback
Steren Giannini
 
Windows store app development V1
Foyzul Karim
 
Windows 8 DevUnleashed - Session 1
drudolph11
 
01 introducing the windows phone 8.1
WindowsPhoneRocks
 
Microsoft PT TechRefresh html win8.1
Alexandre Marreiros
 
Mix 2010 twilight
Intergen
 
What Web Developers Need to Know to Develop Windows 8 Apps
Doris Chen
 
WinJS at NYC Code Camp 2012
Dmitri Artamonov
 
Mihai Tataran - Building Windows 8 Applications with HTML5 and JS
ITCamp
 
Windows Phone 8 App Development
DalpatTapaniya
 
Ad

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 

Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes

  • 1. | Lausanne Windows Store Apps using HTML and JavaScript: Become a Windows App Store developer in 60 minutes Valérie Alonso Xavier Bocken Sacha Bruttin
  • 2. Become an Office 365 developer in 60 min Valerie Alonso, Lead Associate [email protected] Xavier Bocken, Microsoft Practice Manager [email protected] http://ch.linkedin.com/in/xbocken Sacha Bruttin, Senior Consultant [email protected] http://bruttin.com/
  • 3. Everyday our +350 experts strive to bring together their expertise to provide pragmatic, award-wining solutions to industry leaders.
  • 4. DIGITAL MARKETING USER EXPERIENCE Strategy, Planning Creative CRM and E-Commerce Online Advertising, SEO/SEM Social Media Mobile Usability Analysis User research User journey and flows Interaction Design Prototyping Wire-faming APPLICATION DEVELOPMENT  Collaboration  Business Intelligence  CRM  Systems Integration  Development platforms TECHNOLOGY & INFRASTRUCTURE     Service Management Identify Management Service Support E-mail management     Systems Management Security Monitoring & BPM Cloud Computing
  • 6. Agenda Getting started: the user interface Access data and content Enrich your App: semantic zoom, favorites Implement contracts: search Wrap it up Agenda
  • 7. Windows 8 guidelines Windows 8 guidelines http://aka.ms/UXGuidelines Windows 8.1 Product Guide: What’s new for developers http://msdn.microsoft.com/en-us/windows/apps/bg184615.aspx Windows 8.1: New APIs and features http://msdn.microsoft.com/en-us/library/windows/apps/bg182410.aspx WinRT API Reference http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx
  • 9. Getting started: the UI Define a vision for your app • • List the TPG bus stops and bus wait times Access to a list of favorites bus stops, with information updated in real time Choose the layout of your UI / navigation scheme • • Hierarchical navigation: more content organized into section/categories/details Flat navigation: simple content Flat navigation Visual Studio templates Navigation app template
  • 10. Getting started: the UI Windows sizes, continuous scaling and minimum width
  • 11. Getting started: the UI Device sizes, scaling to screens and orientations screen and (max-width: 1024px) CSS3 media queries@media all and (orientation: portrait) {...} {...} @media
  • 14. | Lausanne Chapter 2/5 Access data and content
  • 15. The TPG OpenData API http://rtpi.data.tpg.ch/v1/ + developer key • • GetStops.json GetNextDepartures.json?stopCode= censuré
  • 16. The New Windows.Web.HttpClient API new API for Windows 8.1, replacing: Brand • • • WinJS.xhr for JavaScript; System.Net.Http.HttpClient in C# and VB; IXMLHTTPRequest2 for C++ Highlights for JavaScript programming: • • • • Strongly typed HTTP headers Access to cookies and shared cookies A lot more control over caching behavior Powerful HTTP protocol filters
  • 18. The New Windows.Web.HttpClient API control over More caching behavior
  • 19. The F12 tools equivalent in VS 2013 F12 debugging tools have been rebuilt from the ground up in IE 11 • • DOM Explorer: intellisense auto-complete for attributes and CSS No-refresh debugging, new tools: UI Responsiveness tool, Javascript Memory • Equivalent in Visual Studio 2013: Analyze > Performance and Diagnostics
  • 20. | Lausanne Access data and content Démo
  • 23. Enrich your App – Semantic zoom Detailed level Zoomed out level
  • 24. Enrich your App – Semantic zoom SemanticZoom control • • • Switch between two different views of the same content Uses 2 controls: 1 for zoomed-in view and one for zoomed-out view Inner controls must implement IZoomableView > ListView // Create a WinJS.Binding.List from your data array. var itemsList = new WinJS.Binding.List(myData); // Create the groups for the ListView from the item data and the grouping functions var groupedItemsList = itemsList.createGrouped(getGroupKey, getGroupData, compareGroups); <div data-win-control="WinJS.UI.SemanticZoom"> <!-- The zoomed-in view. --> <div id="zoomedInListView" data-win-control="WinJS.UI.ListView" /> <!--- The zoomed-out view. --> <div id="zoomedOutListView" data-win-control="WinJS.UI.ListView" /> </div>
  • 25. Enrich your App - Animations Drag items within a list JavaScript: dragSourceStart dragSourceEnd dragBetweenEnter dragBetweenLeave
  • 26. Windows 8 App lifecycle 5 secs Incremental save Application data Windows.Storage.ApplicationDat localSettings / roamingSettings Session data WinJS.Application.sessionState Restore application state if (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) { // TODO: App newly launched. Initialize code goes here. } else { // TODO: App reactivated from suspension. Restore app state here. }
  • 30. Windows 8 charms & contracts App contracts • Contracts = agreement between one or more apps Search contract • Add a search pane to search you app’s content and content from other apps Share contract • Help users share content from your app with another and vice versa Play To contract • Play digital media to connected DLNA devices Settings contract • Provide quick, in-context to your app’s settings
  • 31. Windows 8.1 search improvements Search in Windows 8 • Used the Search charm • Implement the Search contract + SearchPane API Search in Windows 8.1 • Use the Search charm for global searches • In-app search should use the SearchBox control Up to 5 suggestions Up to 3 history items Image separators
  • 34. Submit your app to the store • • • • • • Open your Windows Store developer account Reserve your app name Choose a business model: free or not, trial, ad-supported Choose the countries and regions where to sell your app Test your app using the Windows App Certification Kit Submit your app to the store
  • 35. Windows App Certification Kit App certification process Upload > Security tests > Technical compliance > Content compliance > Signing and publishing Test the readiness of your Windows Store app for Win 8 and 8.1 • • • • • Crash and hang tests App manifest compliance, app capabilities Performance, security Package sanity check Resource usage test
  • 36. Helpful ressources Windows Store app UI, start to finish http://msdn.microsoft.com/en-us/library/windows/apps/dn263201.aspx Windows 8.1: New APIs and features for developers http://msdn.microsoft.com/en-us/library/windows/apps/bg182410.aspx Microsoft Virtual Academy – Windows Store Apps with HTML5 Jump Start http://www.microsoftvirtualacademy.com/Content/ViewContent.aspx?et= 3921&m=3914&ct=19152#?fbid=yDB7PDIZ1Se&et=3921&m=3914&ct= 19152#fbid Free ebook: Programming Windows 8 Apps with HTML, CSS and JavaScript http://blogs.msdn.com/b/microsoft_press/archive/2012/10/29/free-ebookprogramming-windows-8-apps-with-html-css-and-javascript.aspx