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.
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Windows 8 Platform & Store
1.
2.
3. 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?
4. YOUR IDEA. Get Ready!
YOUR APP .
Week 1 App design
Week 2 Coding your app
30 DAYS.
Week 3 Making your app shine
Week 4 Get published
You 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
44. // 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
});
}
45. 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..
}
}
46. // 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 );
}
});
47. 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
}
}
61. 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-ones
support
The Windows Store on every device with a full New development models built on WinRT, including
commerce platform and flexibility native support for HTML/CSS/JS, C#/XAML,
C++/DirectX