Windows 8 Platform & Store

687 views

Published on

Windows 8 is Windows re-imagined. Join this session to learn about the new platform for building applications. Get an understanding of the platform design tenets, the programming language choices, and the integration points with the operating system and across Windows 8 apps.

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
687
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
23
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Windows 8 Platform & Store

  1. 1. The largest opportunity for today’s Generation of Application DevelopersWindows 8 ships on October 26, 2012.630M+ Windows 7 licenses have been soldto date – all upgradeable to Windows 8.Windows 8 represents the single biggestdeveloper opportunity for any platform.Millions of developers are taking advantageof this opportunity.Will you?
  2. 2. YOUR IDEA. Get Ready!YOUR APP . Week 1 App design Week 2 Coding your app30 DAYS. Week 3 Making your app shine Week 4 Get publishedYou can develop a Windows 8 app in 30 days—and we’re here to help.• Insider tips and tricks on Windows 8 application development.• Personal on-the-phone access to a Windows 8 architect*.• An exclusive one-on-one Metro style design consultation*.• An opportunity to get expert help from a Microsoft Services Engineer at an App Excellence Lab. Sign Up http://aka.ms/EdWin8
  3. 3. http://win8hackathonduke.eventbrite.com
  4. 4. demo
  5. 5. demo
  6. 6. App gets 5s to handle App is not notified suspend before termination UserLaunches App Apps are notified when they have been resumed Splash screen
  7. 7. Capabilities Seamless data Performantdriven access Native platformHigh isolation Data Roaming
  8. 8. demo
  9. 9. Windows Phone Developer blog, March 2011
  10. 10. // get current productvar currentProduct = Windows.ApplicationModel.Store.CurrentProduct;// get the license informationvar licenseInformation = currentProduct.licenseInformation;// check to see if the user has an active non-trial licenseif (licenseInformation.isTrial) { // user has trial version of the application // prompt them to purchase before so we can enable full functionalitycurrentProduct.requestAppPurchaseAsync().then( function () { // Purchase succeeded });}
  11. 11. private async void ConvertTrial(){ var licenseInformation = CurrentApp.LicenseInformation; licenseInformation.LicenseChanged += licenseInformation_LicenseChanged; if (licenseInformation.IsTrial) await CurrentApp.RequestAppPurchaseAsync();}void licenseInformation_LicenseChanged(){ if (CurrentApp.LicenseInformation.IsActive) { //Enable features.. }}
  12. 12. // can’t do in-app purchase in trial mode, must convert firstif (!appLicensingInformation.isTrial) { //load the listings with all the products currentApp.loadListingInformationAsync().then( function (listing) { //lookup a specific product var product1 = listing.productListings.lookup("product1"); if (!product1.isActive) { // purchase currentApp.requestProductPurchaseAsync("product1“, false ).then( enableProduct1 ); } });
  13. 13. var licenseInformation = CurrentApp.LicenseInformation;var productLicense = licenseInformation.ProductLicenses["product1"];if (!productLicense.IsActive && licenseInformation.IsActive ){ try { await CurrentAppSimulator.RequestProductPurchaseAsync("product1“, false); // No exception: enable product1 } catch (Exception) { //product 1 was not purchased } }
  14. 14. 1 2 3 www.windowsadvertising.com
  15. 15. 1 2 3 www.windowsadvertising.com
  16. 16. As of March 2012, IDC
  17. 17. A new Metro style UI where touch is a first-class Designed from the chipset up for multiple form-citizen along with full mouse-and-keyboard factors – tablets, laptops, desktops & all-in-onessupportThe Windows Store on every device with a full New development models built on WinRT, includingcommerce platform and flexibility native support for HTML/CSS/JS, C#/XAML, C++/DirectX

×