Advertisement
Advertisement

More Related Content

Advertisement

WPSDK 7.1.1

  1. WP SDK v 7.1.1 Allegedly AKA “Tango”
  2. For lower spec devices Like the Lumia 610
  3. 2 big differences All about resources 256MB
  4. Get the SDK http://go.microsoft.com/fwlink/?LinkId=242824
  5. Install the SDK Remember it’s a CTP
  6. What’s installed Not a lot...
  7. NOT a new OS
  8. a new emulator
  9. Detect low memory devices public bool Is256MbDevice() { // Place call in a try block in case the user is not // running the most recent version of the Windows Phone OS // and this method call is not supported. try { var result = (long)DeviceExtendedProperties .GetValue("ApplicationWorkingSetLimit"); return result < 94371840L; } catch (ArgumentOutOfRangeException) { // The device has not received the OS update, // which means the device is a 512-MB device. return false; } }
  10. Detect low memory devices if (Environment.OSVersion.Version.Build >= 8731) { var result = (long)DeviceExtendedProperties .GetValue("ApplicationWorkingSetLimit"); return result < 94371840L; } else { return false; }
  11. Only detect available memory once Save the results (IsolatedStorageSettings)
  12. Test In emulatorS, for now
  13. No generic background agents Resource-intensive or periodic
  14. Resource-intensive agent alternative Do it when the app is running
  15. Periodic task agent alternative Push Notifications
  16. Save memory Do less
  17. Save memory Fewer, smaller resources
  18. Save memory Apps, not controls
  19. beware Long lists, complex templates and animations, orientation changes
  20. Opting out They won’t even know you exist
  21. Opting out <?xml version="1.0" encoding="utf-8"?> <Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/d... <App xmlns="" ProductID="{b0cd6a33-0fde-43f0-ace3-86df62da <IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath> <Capabilities> <Capability Name="ID_CAP_NETWORKING"/> ... </Capabilities> <Requirements> <Requirement Name="ID_REQ_MEMORY_90" /> </Requirements> ...
  22. Uninstall the SDK emulator, then assemblies
  23. Worth doing? Bahrain, Bulgaria, China, Costa Rica, Croatia, Estonia, Iceland, Iraq, Israel, Ka zakhstan, Latvia, Lithuania, Qatar, Romania, Saudi Arabia, Slovakia, Slovenia, Thailand, Turkey, UAE, Ukraine, Venezuela and Vietnam

Editor's Notes

  1. Codename not acknowledged by Microsoft
  2. Other devices coming – particularly in new markets
  3. NOT a go live license – DO NOT PUT ON PRODUCTION MACHINES. Can’t submit apps built against it - apparently
  4. Must have 7.1 already installed
  5. Can launch both at the same time.Must pass a parameter if starting from the command line
  6. Not guaranteed to be future comptible
  7. Create a property on something in global scope to make accessing this if need be
  8. Yes, 2 emulators
  9. Background audio is unaffected
  10. Running under lock is still considered bad though
  11. Same rules as per normal for saving memory – but must be more thorough
  12. Won’t show up in marketplace for such devices
  13. Hopefully future versions (beta &amp; RTW) mean we won’t need to worry about this
  14. Must remove the emulator first – apparently
Advertisement