Windows Phone Thoughts: Maintain a Single Binary for Pocket PC and Smartphone

Be sure to register in our forums! Share your opinions, help others, and enter our contests.


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...



Thursday, December 18, 2003

Maintain a Single Binary for Pocket PC and Smartphone

Posted by Andy Sjostrom in "DEVELOPER" @ 12:00 PM

http://msdn.microsoft.com/mobility/.../mantsngbin.asp

This is quite unique for the Pocket PC and Smartphone platforms! I am not aware of any other mobile platforms that can actually run the same binary on both a touch screen PDA and a mobile phone. Be that as it may... Check out the MSDN article "How to Maintain a Single Binary for Pocket PC and Smartphone" which helps you get started writing code that maintains one binary for Pocket PC and Smartphone. Here are some hints from the article:

"• Do a runtime check for the platform
• Check for the screen resolution
• Minimize your menus entries
• Minimize the use of Common Dialog Boxes
• Save and load only from "My Documents"
• Create a resource for each platform or use the "condition" property
• Load Pocket PC and Smartphone specific libraries dynamically
• Do not assume a touch screen"

I believe some applications could be developed this way. And if the downsides of walking down this alley is too significant, then at least parts of the code base could leverage these development hints.

Tags:

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...