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

Register in our forums so you're ready for our next giveaway contest...


Zune Thoughts

Loading feed...

Digital Media Thoughts

Loading feed...

Pocket PC Thoughts

Loading feed...



Featured Article

T-Mobile Dash Review Read more

Featured Article

Motorola Q Review Read more

Featured Article

HTC Star Trek Review Read more

Thursday, December 18, 2003

Maintain a Single Binary for Pocket PC and Smartphone

Posted by Andy Sjostrom in "DEVELOPER" @ 07:52 AM

http://msdn.microsoft.com/mobility/default.aspx?pull=/library/en-us/dnppcgen/html/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.


Featured Product

Top Smartphone Software

News Tip or Feedback?

Contact us

Thoughts Media Sites

Pocket PC Thoughts

Smartphone Thoughts

Digital Media Thoughts

Recent Posts

  • Pete Paxton: Tracy and Matt's Asus M530w (Aries) Review
  • Pete Paxton: WebIS Black Friday Sale - 45% Off All WebIS Software
  • Mike Temporale: Canadian Data Prices Heat Up
  • Mike Temporale: Holiday Insider Deals from Skooba Design
  • Kris Kumar: Phone Scoop's Video Tour of the Pantech Duo C810
  • Rocco Augusto: trakAxMobile Released for Windows Mobile Standard
  • marksmith: emoze Free Push Email - Releases v1.5!
  • Rocco Augusto: A Fresh Start...

Thoughts Media Network: Recent Articles

Loading feed...

Thoughts Media Network: News

Loading feed...

Sponsored links