Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Configuring Your WP8 App to Indicate That it Wants or Requires More Memory

DZone's Guide to

Configuring Your WP8 App to Indicate That it Wants or Requires More Memory

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

A few weeks ago I created some nuget packages to make it easier to work with the WMAppManifestFile, so you don't have to manually edit it.

Since then I've realized that to indicate that you want an app to use more memory if available or to require that your app must have more memory to run (and therefore can't run on low memory devices) also requires manually editing the WMAppManifest.xml file.

So, as you may have guessed, I've built some nuget packages that can set this up for you.

To indicate that your app wants to use more memory, you can update the manifest to indicate this, search for "WMAppManfest-Extended-Memory" or use:

PM> Install-Package WMAM-FCEM

Alternatively, if you want to indicate that your app should only run on devices with higher memory levels, you can update the manifest to indicate this, search for "WMAppManfest-Higher-Memory" or use:

PM> Install-Package WMAM-RM300


As with my other packges which manipulate the WMAppManifest.xml file, the changes that are made aren't undone when you uninstall so you can (I recommend) uninstall the packages straight after you've installed it.
You can also find these packages by searching for "WMAppManifest" in the package manager.

Read more about memory limits on Windows Phone 8 at http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681682(v=vs.105).aspx

If you use these packages or have any feedback, I'd love to hear it.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of Matt Lacey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}