Windows Phone 7 Developer Tips and Tricks


image

  • Panorama looks nice, but Pivot will offer faster start time.
  • When a Panorama loads, all its items go through a render pass. For pivot, it is done incrementally for neighboring items.
  • You can also set a Background image to a Pivot. You won’t get the parallax effect, but it is another option.
  • Even if you have a 30k compressed JPEG image, at runtime that becomes an uncompressed surface that may take several MBs of memory
  • So consider delay loading controls and screens. A Panorama with a billion items will take forever to load due to layout.
  • Remember that for ingestion to the marketplace, your apps need to consume under 90MB of memory
  • Having a single DispatcherTimer in your app can affect your battery life regardless of interval. Chose wisely
  • Only use Dispatcher.BeginInvoke when you must. Look at SmartDispatcher (ps old code sry) http://bit.ly/axHh36
  • That sexy "tilt" effect? Use Peter’s behavior http://bit.ly/90Z1yR and/or check out the MSDN docs
  • plus more…
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s