wp7 hub_marketplace

21
Windows Phone 7 Marketplace A different kind of phone, designed for a life in motion

Upload: mictt-palma

Post on 24-May-2015

561 views

Category:

Education


0 download

DESCRIPTION

Fase 2.4.

TRANSCRIPT

Page 1: WP7 HUB_Marketplace

Windows Phone 7 Marketplace A different kind of phone, designed for a life in motion

Page 2: WP7 HUB_Marketplace

USING THE MARKETPLACE TO SELL SOLUTIONS

Page 3: WP7 HUB_Marketplace

The Windows Phone Marketplace The Marketplace is the only way that phone owners

can get content onto their phones Programs can be sent over the air to the phone and

also loaded via the Zune program The Zune program provides media management on

the Windows PC and phone Customers use their Windows Live ID to register

their phones and can pay for applications and media

3

Page 4: WP7 HUB_Marketplace

Deployment Process

Develop

& Debug

Submit

& Validate

Certify

& Sign

Windows Phone

Application Deployment

Service

Marketplace

Page 5: WP7 HUB_Marketplace

Approving applications Before an application or game is released via the

Marketplace it must go through an approvals process

This ensures that the program will behave correctly Windows Phone

Members of the Marketplace can submit applications for approval and receive progress reports on the registration process

5

Page 6: WP7 HUB_Marketplace

Joining the Marketplace You can register to be a member of the marketplace

for $99 per year Students can register for free via Dreamspark Registered developers can submit applications for

approval in the marketplace Marketplace members have their identity validated

when they join and are allocated a unique digital signature to sign their programs

6

Page 7: WP7 HUB_Marketplace

Payment Developers can set a price for your application or

give it away for free Developers receive 70% of the price paid for the

application Payment starts once the developer has earned up

to $200 The payment is made by bank transfer

7

Page 8: WP7 HUB_Marketplace

Free and paid applications A member of the Marketplace can submit up to five

“free” applications for approval Phone owners can download these without

having to pay for them Additional approvals for further free applications

will cost $20 each A member can submit an unlimited number of

“paid” applications

8

Page 9: WP7 HUB_Marketplace

Trial Mode Applications can be published with a “trial” mode

which customers can use to check out the application

The trial mode version of the program is exactly the same program as the full version, but running in trial mode

The trial mode may have missing functionality or be time limited

9

Page 10: WP7 HUB_Marketplace

Detecting Trial Mode

It is easy for an application to determine whether it is running in Trial mode

10

using Microsoft.Phone.Marketplace;

LicenseInformation info = new LicenseInformation();

if ( info.IsTrial() )

{

// running in trial mode

}

Page 11: WP7 HUB_Marketplace

Deploying to the hardware The emulator is a faithful representation of all the

software interfaces available to a game However, for play testing of games a real device is

required Windows Phone devices as sold do not support the

deployment of programs to them Registered developers can unlock devices so that

they can be used in this way

11

Page 12: WP7 HUB_Marketplace

Device unlocking A device can be unlocked using the program

supplied with the Windows Phone SDK A registered developer can unlock up to three

phones A student developer can unlock only one

Registered developers can manage their phone registrations

12

Page 13: WP7 HUB_Marketplace

The XAP file The XAP file contains all the elements that make up

an application Images, sounds other content Program assemblies

This file is produced by Visual Studio when the program is built

We saw this file when we considered how applications are built

13

Page 14: WP7 HUB_Marketplace

The XAP file manifest The XAP file contains a manifest that describes the

content and the application itself It also lists the phone resources that are required by

the application Networking, location, media library etc.

The manifest for a new file requests all resources You should remove any resources that you are not

actually using

14

Page 15: WP7 HUB_Marketplace

The full capability list

<Capabilities>

<Capability Name="ID_CAP_GAMERSERVICES"/>

<Capability Name="ID_CAP_IDENTITY_DEVICE"/>

<Capability Name="ID_CAP_IDENTITY_USER"/>

<Capability Name="ID_CAP_LOCATION"/>

<Capability Name="ID_CAP_MEDIALIB"/>

<Capability Name="ID_CAP_MICROPHONE"/>

<Capability Name="ID_CAP_NETWORKING"/>

<Capability Name="ID_CAP_PHONEDIALER"/>

<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>

<Capability Name="ID_CAP_SENSORS"/>

<Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>

</Capabilities>

Page 16: WP7 HUB_Marketplace

Local Application Deployment You can deploy a XAP file

directly onto an unlocked device, or the emulator by using the Application Deployment tool

This lets you distribute finished applications for test

16

Page 17: WP7 HUB_Marketplace

Obfuscation If you send someone your XAP file they can use

disassemblers and other programs to unpick your assemblies and find out how they work

We did this earlier using the ildasm program An obfuscator tool will change the layout and

variable names in your code to make it harder to decode the way a program works

17

Page 18: WP7 HUB_Marketplace

Adding Obfuscation There are a number of tools that will perform this

obfuscation for you The Windows Phone Marketplace provides access to

one from PreEmptive solutions that is worth a look You should add obfuscation to any program that you

make available

18

Page 19: WP7 HUB_Marketplace

Submission and approval The submission and approval process is managed

via the developer site for Windows Phone and XNAhttp://create.msdn.com

There are registration and approval walkthroughs that you can follow to learn how to register and deploy applications

19

Page 20: WP7 HUB_Marketplace

Certification Guidelines

You should download the Windows Phone Certification guidelines from the developer site

This gives vital information on application submission

20

Page 21: WP7 HUB_Marketplace

Summary Windows Phone owners get their applications from

the Windows Phone Marketplace Registering as a developer costs $99 per year

Students can register for free Developers can produce free or paid applications

and can also add a “trial mode” Developers can unlock phone devices so that they

can run their programs on them You should obfuscate your code