development application for windows 8 by eugene kiriyan
TRANSCRIPT
![Page 1: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/1.jpg)
© 2012, Eugene Kirian
Windows 8 Metro apps
![Page 2: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/2.jpg)
Windows 8
![Page 3: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/3.jpg)
Agenda
1. Introduction to Windows 8 Metro2. Practice3. Windows Store4. Questions
![Page 4: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/4.jpg)
Prerequisites
• Windows 8• Visual Studio 2012• Knowledge of C#/VB.Net/C++/JavaScript• Windows LiveID
![Page 5: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/5.jpg)
Languages and Technologies
The choice• JavaScript + HTML 5• C#/VB.Net + XAML• C++ + XAML• C++ + DirectX
C#/VB.Net XAML
C++DirectX
JavaScript HTML
C++XAML
![Page 6: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/6.jpg)
Sandbox
![Page 7: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/7.jpg)
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.
![Page 8: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/8.jpg)
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)
![Page 9: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/9.jpg)
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.
![Page 10: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/10.jpg)
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)
![Page 11: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/11.jpg)
Application lifecycle
• App deployment• App launch/activation• App suspend/change visibility/resume• App close/crash• App removal
![Page 12: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/12.jpg)
Application lifecycle
![Page 13: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/13.jpg)
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
![Page 14: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/14.jpg)
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…)
![Page 15: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/15.jpg)
Lets get started!
![Page 16: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/16.jpg)
Windows Store
• Over 200 countries and over 100 languages to sell the app
• Developer account ISN’T available for Ukraine
![Page 17: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/17.jpg)
For those, who can…
• 70% payoff when net sales is less than $25,000
• 80% payoff, after that• Minimum app price is $1.49
![Page 18: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/18.jpg)
Windows Store Features
• Buy and download• Time-limited trial• Feature-limited trial• In-app purchases• Advertising (Windows Advertising)• Third-party transactions
![Page 19: Development Application for Windows 8 by Eugene Kiriyan](https://reader035.vdocuments.us/reader035/viewer/2022062704/555cba9bd8b42a5f718b47a1/html5/thumbnails/19.jpg)
Questions?