Search code examples
windows-phone-7marketplace

Change App behavior in low/high end Wp7 devices


I am going to implement the always running animation that will consume memory and CPU usage too much. Since in low end devices(256 MB RAM, like LUMIA 510) ui will hang some time. So decided to run animation only in high memory devices (more than 512 MB Ram like, 710, radar, 820 etc). this is can be done by fetching device total memory .

DeviceExtendedProperties.GetValue("DeviceTotalMemory");

Is this kind of behavior is acceptable in Market place.? please clarify it.


Solution

  • There is a better way to detect a 256 MB device using DeviceExtendedProperties.GetValue("ApplicationWorkingSetLimit") described at the Nokia Developer portal. The idea is ok, I do the same in a few apps.