SlideShare une entreprise Scribd logo
1  sur  19
Windows 8 Metro apps

                       © 2012, Eugene Kirian
Windows 8
Agenda
1.   Introduction to Windows 8 Metro
2.   Practice
3.   Windows Store
4.   Questions
Prerequisites

•   Windows 8
•   Visual Studio 2012
•   Knowledge of C#/VB.Net/C++/JavaScript
•   Windows LiveID
Languages and Technologies

The choice
•   JavaScript + HTML 5
•   C#/VB.Net + XAML
•   C++ + XAML            JavaScript   C#/VB.Net
•   C++ + DirectX
                            HTML         XAML


                             C++         C++
                            XAML        DirectX
Sandbox
App capability
           declarations
Metro style apps that need programmatic
access to user resources such as the Pictures
library or connected devices such as a
webcam, must declare the appropriate
capability. An app requests access by
declaring capabilities in its package
manifest.
App capability declarations

Capabilities
•   Music library
•   Pictures library
•   Videos library
•   Removable storage (USB, External HDD)
•   Microphone
•   Webcam
•   Location (GPS)
•   Proximity (Locate nearby devices)
•   Internet and public networks
•   Home and work networks
•   Enterprise authentication
•   Shared User Certificates
•   Documents library (Require to have at least one app
    supported file extension)
App contracts and
          extensions
Metro style apps use contracts and extensions
to declare the interactions that they support
with other apps. These apps must include
required declarations in the package manifest
and call required Windows Runtime APIs to
communicate with Windows and other contract
participants.
Contracts - an agreement between one or more
apps.
Extension - an agreement between an app and
Windows.
App contracts and extensions

Contracts & Extensions
•   Account picture provider (extension)
•   App to App Picking contract
•   AutoPlay (extension)
•   Background tasks (extension)
•   Cached file updater contract
•   Camera settings (extension)
•   Contact picker (extension)
•   File activation (extension)
•   Game Explorer (extension)
•   Play To contract
•   Print task settings (extension)
•   Protocol activation (extension)
•   Search contract
•   Settings contract
•   Share contract
•   SSL/certificates (extension)
Application lifecycle

•   App deployment
•   App launch/activation
•   App suspend/change visibility/resume
•   App close/crash
•   App removal
Application lifecycle
App packages and
        deployment
Package is container - Open Packing
Conventions (OPC) standard. OPC defines a
structured means to store data and
resources for the app using a standard ZIP
file.
• Package manifest
• Content

Installation to
%ProgramFiles%WindowsApps
File access and
          permissions
You can get access to:
• Application install directory
• Application data locations
• User’s Downloads folder
• Additional locations
  (Documents, Music, Pictures, Videos
  libraries, removable devices, etc…)
Lets get started!
Windows Store
• Over 200 countries and over 100
  languages to sell the app
• Developer account ISN’T available for
  Ukraine
For those, who can…
• 70% payoff when net sales is less than
  $25,000
• 80% payoff, after that
• Minimum app price is $1.49
Windows Store Features
•   Buy and download
•   Time-limited trial
•   Feature-limited trial
•   In-app purchases
•   Advertising (Windows Advertising)
•   Third-party transactions
Questions?

Contenu connexe

Similaire à Development Application for Windows 8 by Eugene Kiriyan

Andriod ppt for colledge
Andriod ppt for colledgeAndriod ppt for colledge
Andriod ppt for colledgeabhav_luthra
 
Versions of Android OS
Versions of Android OSVersions of Android OS
Versions of Android OSHaseeb
 
The state of packaged web apps
The state of packaged web appsThe state of packaged web apps
The state of packaged web appsCristiano Betta
 
Introduction to Windows 8 Development
Introduction to Windows 8 DevelopmentIntroduction to Windows 8 Development
Introduction to Windows 8 DevelopmentJeff Bramwell
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - SeminarAkshay Sharma
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - SeminarAkshay Sharma
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUGDenis Gundarev
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the cornedCatalin Gheorghiu
 
Game Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsGame Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsLee Stott
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA NITIN GUPTA
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfNomanKhan869872
 

Similaire à Development Application for Windows 8 by Eugene Kiriyan (20)

Android
Android Android
Android
 
Android quick talk
Android quick talkAndroid quick talk
Android quick talk
 
Andriod ppt for colledge
Andriod ppt for colledgeAndriod ppt for colledge
Andriod ppt for colledge
 
Versions of Android OS
Versions of Android OSVersions of Android OS
Versions of Android OS
 
The state of packaged web apps
The state of packaged web appsThe state of packaged web apps
The state of packaged web apps
 
Android technology
Android technology Android technology
Android technology
 
Introduction to Windows 8 Development
Introduction to Windows 8 DevelopmentIntroduction to Windows 8 Development
Introduction to Windows 8 Development
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - Seminar
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - Seminar
 
Android OS 2019
Android OS 2019Android OS 2019
Android OS 2019
 
Google android os
Google android osGoogle android os
Google android os
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUG
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the corned
 
Game Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsGame Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for Windows
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 

Plus de Dima Maleev

JavaScript in Mobile Development
JavaScript in Mobile DevelopmentJavaScript in Mobile Development
JavaScript in Mobile DevelopmentDima Maleev
 
Fear and Loathing at PhoneGap
Fear and Loathing at PhoneGapFear and Loathing at PhoneGap
Fear and Loathing at PhoneGapDima Maleev
 
Development Applications for Chrome OS
Development Applications for Chrome OSDevelopment Applications for Chrome OS
Development Applications for Chrome OSDima Maleev
 
Go mobile with Windows Phone
Go mobile with Windows PhoneGo mobile with Windows Phone
Go mobile with Windows PhoneDima Maleev
 
Time. To manage, or not to manage
Time. To manage, or not to manageTime. To manage, or not to manage
Time. To manage, or not to manageDima Maleev
 
Parallel extensions in .Net 4.0
Parallel extensions in .Net 4.0Parallel extensions in .Net 4.0
Parallel extensions in .Net 4.0Dima Maleev
 
Создание SharePoint 2010 решений в Visual Studio
Создание SharePoint 2010 решений в Visual StudioСоздание SharePoint 2010 решений в Visual Studio
Создание SharePoint 2010 решений в Visual StudioDima Maleev
 
24000 Days Of UX
24000 Days Of UX24000 Days Of UX
24000 Days Of UXDima Maleev
 
Developing silverlight applications for windows phone 7 series
Developing silverlight applications for windows phone 7 seriesDeveloping silverlight applications for windows phone 7 series
Developing silverlight applications for windows phone 7 seriesDima Maleev
 
New Features Of ASP.Net 4 0
New Features Of ASP.Net 4 0New Features Of ASP.Net 4 0
New Features Of ASP.Net 4 0Dima Maleev
 

Plus de Dima Maleev (13)

Mems
MemsMems
Mems
 
JavaScript in Mobile Development
JavaScript in Mobile DevelopmentJavaScript in Mobile Development
JavaScript in Mobile Development
 
Fear and Loathing at PhoneGap
Fear and Loathing at PhoneGapFear and Loathing at PhoneGap
Fear and Loathing at PhoneGap
 
Development Applications for Chrome OS
Development Applications for Chrome OSDevelopment Applications for Chrome OS
Development Applications for Chrome OS
 
Gamification
GamificationGamification
Gamification
 
Go mobile with Windows Phone
Go mobile with Windows PhoneGo mobile with Windows Phone
Go mobile with Windows Phone
 
Time. To manage, or not to manage
Time. To manage, or not to manageTime. To manage, or not to manage
Time. To manage, or not to manage
 
Parallel extensions in .Net 4.0
Parallel extensions in .Net 4.0Parallel extensions in .Net 4.0
Parallel extensions in .Net 4.0
 
Создание SharePoint 2010 решений в Visual Studio
Создание SharePoint 2010 решений в Visual StudioСоздание SharePoint 2010 решений в Visual Studio
Создание SharePoint 2010 решений в Visual Studio
 
24000 Days Of UX
24000 Days Of UX24000 Days Of UX
24000 Days Of UX
 
Developing silverlight applications for windows phone 7 series
Developing silverlight applications for windows phone 7 seriesDeveloping silverlight applications for windows phone 7 series
Developing silverlight applications for windows phone 7 series
 
New Features Of ASP.Net 4 0
New Features Of ASP.Net 4 0New Features Of ASP.Net 4 0
New Features Of ASP.Net 4 0
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Dernier (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Development Application for Windows 8 by Eugene Kiriyan

  • 1. Windows 8 Metro apps © 2012, Eugene Kirian
  • 3. Agenda 1. Introduction to Windows 8 Metro 2. Practice 3. Windows Store 4. Questions
  • 4. Prerequisites • Windows 8 • Visual Studio 2012 • Knowledge of C#/VB.Net/C++/JavaScript • Windows LiveID
  • 5. Languages and Technologies The choice • JavaScript + HTML 5 • C#/VB.Net + XAML • C++ + XAML JavaScript C#/VB.Net • C++ + DirectX HTML XAML C++ C++ XAML DirectX
  • 7. App capability declarations Metro style apps that need programmatic access to user resources such as the Pictures library or connected devices such as a webcam, must declare the appropriate capability. An app requests access by declaring capabilities in its package manifest.
  • 8. App capability declarations Capabilities • Music library • Pictures library • Videos library • Removable storage (USB, External HDD) • Microphone • Webcam • Location (GPS) • Proximity (Locate nearby devices) • Internet and public networks • Home and work networks • Enterprise authentication • Shared User Certificates • Documents library (Require to have at least one app supported file extension)
  • 9. App contracts and extensions Metro style apps use contracts and extensions to declare the interactions that they support with other apps. These apps must include required declarations in the package manifest and call required Windows Runtime APIs to communicate with Windows and other contract participants. Contracts - an agreement between one or more apps. Extension - an agreement between an app and Windows.
  • 10. App contracts and extensions Contracts & Extensions • Account picture provider (extension) • App to App Picking contract • AutoPlay (extension) • Background tasks (extension) • Cached file updater contract • Camera settings (extension) • Contact picker (extension) • File activation (extension) • Game Explorer (extension) • Play To contract • Print task settings (extension) • Protocol activation (extension) • Search contract • Settings contract • Share contract • SSL/certificates (extension)
  • 11. Application lifecycle • App deployment • App launch/activation • App suspend/change visibility/resume • App close/crash • App removal
  • 13. App packages and deployment Package is container - Open Packing Conventions (OPC) standard. OPC defines a structured means to store data and resources for the app using a standard ZIP file. • Package manifest • Content Installation to %ProgramFiles%WindowsApps
  • 14. File access and permissions You can get access to: • Application install directory • Application data locations • User’s Downloads folder • Additional locations (Documents, Music, Pictures, Videos libraries, removable devices, etc…)
  • 16. Windows Store • Over 200 countries and over 100 languages to sell the app • Developer account ISN’T available for Ukraine
  • 17. For those, who can… • 70% payoff when net sales is less than $25,000 • 80% payoff, after that • Minimum app price is $1.49
  • 18. Windows Store Features • Buy and download • Time-limited trial • Feature-limited trial • In-app purchases • Advertising (Windows Advertising) • Third-party transactions