×
Namespaces

Variants
Actions

Opting your app out from Windows Phone with 256 MB

From Nokia Developer Wiki
Jump to: navigation, search

This article explains how to set-up an app so that it cannot be installed on Windows Phone products with 256 MB of memory.

WP Metro Icon Graph1.png
SignpostIcon WP7 70px.png
Article Metadata
Tested with
SDK: Windows Phone SDK 7.1 with the Windows Phoine SDK 7.1.1 - CTP
Devices(s): Nokia Lumia 610
Compatibility
Platform(s): Windows Phone 7.5
Windows Phone 7.5
Device(s): Windows Phone products with 256 MB of memory
Article
Created: Justin Angel (28 Feb 2012)
Last edited: hamishwillee (04 Jul 2013)

Contents

Introduction

Apps that follow the guidance in the article Best practice tips for delivering apps to Windows Phone with 256 MB should run on Windows Phone products with 256 MB memory. However, there will be a few rare situations where you have specific needs that cannot be accomodated on 256 MB phones, such as when you have to reply on a PeriodicTask or a ResourceIntensiveTask to deliver an app's use case. In these cases you can opt-out from 256 MB phones.

Setting your app to opt-out from 256 MB phones

To opt-out your app from 256 MB phones you need to add the appropriate <Requirement /> XML element to your WmAppManifest XML file, as follows:

<Deployment AppPlatformVersion="7.1">
<App>
<!-- ... -->
<Requirements>
<Requirement Name="ID_REQ_MEMORY_90" />
</Requirements>
<!-- ... -->
</App>
</Deployment>

This requirement won't impact the runtime behaviour of your app, but it will change how and to whom the Windows Phone Marketplace distributes your app.

Submitting your app to AppHub

After adding the requirement to your app's XAP you should see the following message on AppHub prior to submitting your app:

Windows Phone AppHub 256MB opt out message.png

User experience

When a user with 256 MB phone attempts to download your app from the Windows Phone Marketplace they’ll encounter the following message:

Windows Phone 256MB opt out UX.png Windows Phone 7 App Not Available on 256MB.png


Note that the app can't be installed as the Download and Buy buttons are not displayed.

Avoid opting-out apps from 256 MB devices

It's recommended to avoid opting your apps out of 256 MB devices. Apps that opt-out will lose out on a growing user base of 256 MB device owners. There are rare occasions that would excuse opting your apps out of 256 MB devices. For the overwhelming majority of apps following the advice found in the Best practice tips for delivering apps to Windows Phone with 256 MB article is more appropriate than disqualifying your apps from 256 MB devices.

This page was last modified on 4 July 2013, at 06:51.
107 page views in the last 30 days.