سؤال

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.

هل كانت مفيدة؟

المحلول 2

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.

نصائح أخرى

Why would this not be? You're simply performing an action depending on the memory-size of the device. This has nothing to do with validating the app as working consistently and following those rules of the Marketplace.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top