WindowsPhone App how to use extended memory

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

The mobile phone system for App memory usage is limited, especially for Android and WindowsPhone such a platform, because many different models, or so with a App run on different mobile phone on different effects.

WP usually for maximum memory limit of a App allows the use of 150MB application development, but we sometimes exceed this figure in the peak, so Microsoft also left us to extend the use of memory. There are two kinds of more mainstream approach:

First, through the Manifest request more memory. This method is universal, is in accordance with the following code in the App node of the Manifest file into a FunctionalCapability. At present, the visual interface of Manifest is not the option, so it can only be written in code mode.

1 <App>
2     <FunctionalCapabilities>
3          <FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM"/>
4     </FunctionalCapabilities>
5 </App>

      Second, the use of App models to make restrictions. This approach is not very good, because it will limit your App to use models. Can be set up by the following code:

1 <App>
2   <Requirements>
3       <Requirements Name="ID_REQ_MEMORY_300"/>
4   </Requirements>
5 </App>

Set is the result of partial low memory type can't in the app store to see your App, use the same even get your XAP file is not installed on your.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Stacey at December 18, 2013 - 4:33 PM