Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WPSDK 7.1.1

1,837 views

Published on

An introduction to Windows Phone SDK 7.1.1 at WPUG (London - Feb 28)

  • Be the first to comment

  • Be the first to like this

WPSDK 7.1.1

  1. 1. WP SDK v 7.1.1 Allegedly AKA “Tango”
  2. 2. For lower spec devices Like the Lumia 610
  3. 3. 2 big differences All about resources 256MB
  4. 4. Get the SDKhttp://go.microsoft.com/fwlink/?LinkId=242824
  5. 5. Install the SDKRemember it’s a CTP
  6. 6. What’s installed Not a lot...
  7. 7. NOT a new OS
  8. 8. a new emulator
  9. 9. Detect low memory devicespublic 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. 10. Detect low memory devicesif (Environment.OSVersion.Version.Build >= 8731){ var result = (long)DeviceExtendedProperties .GetValue("ApplicationWorkingSetLimit"); return result < 94371840L; } else { return false; }
  11. 11. Only detect available memory once Save the results (IsolatedStorageSettings)
  12. 12. TestIn emulatorS, for now
  13. 13. No generic background agentsResource-intensive or periodic
  14. 14. Resource-intensive agent alternative Do it when the app is running
  15. 15. Periodic task agent alternative Push Notifications
  16. 16. Save memory Do less
  17. 17. Save memoryFewer, smaller resources
  18. 18. Save memoryApps, not controls
  19. 19. bewareLong lists, complex templates and animations, orientation changes
  20. 20. Opting outThey won’t even know you exist
  21. 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. 22. Uninstall the SDKemulator, then assemblies
  23. 23. Worth doing? Bahrain, Bulgaria, China, CostaRica, Croatia, Estonia, Iceland, Iraq, Israel, Kazakhstan, Latvia, Lithuania, Qatar, Romania, SaudiArabia, Slovakia, Slovenia, Thailand, Turkey, UAE, Ukraine, Venezuela and Vietnam

×