Development Application for Windows 8 by Eugene Kiriyan

  • 3,298 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,298
On Slideshare
0
From Embeds
0
Number of Embeds
13

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Windows 8 Metro apps © 2012, Eugene Kirian
  • 2. Windows 8
  • 3. Agenda1. Introduction to Windows 8 Metro2. Practice3. Windows Store4. Questions
  • 4. Prerequisites• Windows 8• Visual Studio 2012• Knowledge of C#/VB.Net/C++/JavaScript• Windows LiveID
  • 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. Sandbox
  • 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. 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. 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. 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. Application lifecycle• App deployment• App launch/activation• App suspend/change visibility/resume• App close/crash• App removal
  • 12. Application lifecycle
  • 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. 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. Lets get started!
  • 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
  • 19. Questions?