windows 8 platform & store

63

Upload: ed-donahue

Post on 07-Nov-2014

778 views

Category:

Technology


2 download

DESCRIPTION

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.

TRANSCRIPT

Page 1: Windows 8 Platform & Store
Page 2: Windows 8 Platform & Store
Page 3: Windows 8 Platform & Store

The largest opportunity

for today’s Generation

of Application Developers

Windows 8 ships on October 26, 2012.

630M+ Windows 7 licenses have been sold

to date – all upgradeable to Windows 8.

Windows 8 represents the single biggest

developer opportunity for any platform.

Millions of developers are taking advantage

of this opportunity.

Will you?

Page 4: Windows 8 Platform & Store

YOUR IDEA.

YOUR APP.

30 DAYS.

You can develop a Windows 8 app in 30 days—

and we’re here to help.

Get Ready!

Week 1 App design

Week 2 Coding your app

Week 3 Making your app shine

Week 4 Get published

• 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

Page 5: Windows 8 Platform & Store

http://win8hackathonduke.eventbrite.com

Page 6: Windows 8 Platform & Store
Page 7: Windows 8 Platform & Store
Page 8: Windows 8 Platform & Store

demo

Page 9: Windows 8 Platform & Store
Page 10: Windows 8 Platform & Store
Page 11: Windows 8 Platform & Store
Page 12: Windows 8 Platform & Store
Page 13: Windows 8 Platform & Store
Page 14: Windows 8 Platform & Store
Page 15: Windows 8 Platform & Store
Page 16: Windows 8 Platform & Store
Page 17: Windows 8 Platform & Store
Page 18: Windows 8 Platform & Store
Page 19: Windows 8 Platform & Store
Page 20: Windows 8 Platform & Store
Page 21: Windows 8 Platform & Store

demo

Page 22: Windows 8 Platform & Store
Page 23: Windows 8 Platform & Store

App gets 5s to handle

suspend

App is not notified

before termination

Apps are notified when

they have been resumed

User

Launches

App

Splash

screen

Page 24: Windows 8 Platform & Store
Page 25: Windows 8 Platform & Store
Page 26: Windows 8 Platform & Store

Seamless data access

Data Roaming

Performant

Native platform

Capabilities driven

High isolation

Page 27: Windows 8 Platform & Store
Page 28: Windows 8 Platform & Store
Page 29: Windows 8 Platform & Store
Page 30: Windows 8 Platform & Store
Page 31: Windows 8 Platform & Store

demo

Page 32: Windows 8 Platform & Store
Page 33: Windows 8 Platform & Store
Page 34: Windows 8 Platform & Store
Page 35: Windows 8 Platform & Store
Page 36: Windows 8 Platform & Store
Page 37: Windows 8 Platform & Store
Page 38: Windows 8 Platform & Store
Page 39: Windows 8 Platform & Store
Page 40: Windows 8 Platform & Store
Page 42: Windows 8 Platform & Store
Page 43: Windows 8 Platform & Store
Page 44: Windows 8 Platform & Store

// get current product

var currentProduct = Windows.ApplicationModel.Store.CurrentProduct;

// get the license information

var licenseInformation = currentProduct.licenseInformation;

// check to see if the user has an active non-trial license

if (licenseInformation.isTrial) {

// user has trial version of the application// prompt them to purchase before so we can enable full functionality

currentProduct.requestAppPurchaseAsync().then(

function () {

// Purchase succeeded

});

}

Page 45: Windows 8 Platform & Store

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..

}

}

Page 46: Windows 8 Platform & Store

// can’t do in-app purchase in trial mode, must convert first

if (!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 );

}

});

Page 47: Windows 8 Platform & Store

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

}

}

Page 48: Windows 8 Platform & Store
Page 49: Windows 8 Platform & Store
Page 50: Windows 8 Platform & Store

321

www.windowsadvertising.com

Page 51: Windows 8 Platform & Store

31 2

www.windowsadvertising.com

Page 52: Windows 8 Platform & Store
Page 53: Windows 8 Platform & Store
Page 54: Windows 8 Platform & Store
Page 55: Windows 8 Platform & Store
Page 56: Windows 8 Platform & Store
Page 57: Windows 8 Platform & Store
Page 58: Windows 8 Platform & Store

As of March 2012, IDC

Page 59: Windows 8 Platform & Store
Page 60: Windows 8 Platform & Store
Page 61: Windows 8 Platform & Store

A new Metro style UI where touch is a first-class citizen along with full mouse-and-keyboard support

New development models built on WinRT, including native support for HTML/CSS/JS, C#/XAML, C++/DirectX

Designed from the chipset up for multiple form-factors – tablets, laptops, desktops & all-in-ones

The Windows Store on every device with a full

commerce platform and flexibility

Page 62: Windows 8 Platform & Store
Page 63: Windows 8 Platform & Store