Development Application for Windows 8 by Eugene Kiriyan

3,625 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
3,625
On SlideShare
0
From Embeds
0
Number of Embeds
3,007
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Development Application for Windows 8 by Eugene Kiriyan

  1. 1. Windows 8 Metro apps © 2012, Eugene Kirian
  2. 2. Windows 8
  3. 3. Agenda1. Introduction to Windows 8 Metro2. Practice3. Windows Store4. Questions
  4. 4. Prerequisites• Windows 8• Visual Studio 2012• Knowledge of C#/VB.Net/C++/JavaScript• Windows LiveID
  5. 5. Languages and TechnologiesThe choice• JavaScript + HTML 5• C#/VB.Net + XAML• C++ + XAML JavaScript C#/VB.Net• C++ + DirectX HTML XAML C++ C++ XAML DirectX
  6. 6. Sandbox
  7. 7. App capability declarationsMetro style apps that need programmaticaccess to user resources such as the Pictureslibrary or connected devices such as awebcam, must declare the appropriatecapability. An app requests access bydeclaring capabilities in its packagemanifest.
  8. 8. App capability declarationsCapabilities• 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. 9. App contracts and extensionsMetro style apps use contracts and extensionsto declare the interactions that they supportwith other apps. These apps must includerequired declarations in the package manifestand call required Windows Runtime APIs tocommunicate with Windows and other contractparticipants.Contracts - an agreement between one or moreapps.Extension - an agreement between an app andWindows.
  10. 10. App contracts and extensionsContracts & 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. 11. Application lifecycle• App deployment• App launch/activation• App suspend/change visibility/resume• App close/crash• App removal
  12. 12. Application lifecycle
  13. 13. App packages and deploymentPackage is container - Open PackingConventions (OPC) standard. OPC defines astructured means to store data andresources for the app using a standard ZIPfile.• Package manifest• ContentInstallation to%ProgramFiles%WindowsApps
  14. 14. File access and permissionsYou can get access to:• Application install directory• Application data locations• User’s Downloads folder• Additional locations (Documents, Music, Pictures, Videos libraries, removable devices, etc…)
  15. 15. Lets get started!
  16. 16. Windows Store• Over 200 countries and over 100 languages to sell the app• Developer account ISN’T available for Ukraine
  17. 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. 18. Windows Store Features• Buy and download• Time-limited trial• Feature-limited trial• In-app purchases• Advertising (Windows Advertising)• Third-party transactions
  19. 19. Questions?

×