Hi, I'm developing an application which will have to run on both PPCs and SmartPhones (CF1, 2003SE+) It should be responsive to touch screens and handle screen rotation on PPC and handle keypresses on the SmartPhone.
Ideally I'd like to just have one project with either 2 builds (and compiler constants) or some runtime device detection. This is will require good separation between the UI and the back end.
But as this is my first real project of this nature, I'm not sure how this will turn out - is it possible to do the above successfully
Any strategies, advice, links etc you could offer would be really appreciated..
Cheers,

Smart Phone and PocketPC friendly
pradeep prabhu83
How can use a runtime detection to said if device have touch screen
I need this because my interface is painted dinamically..
Thanks
bxchan
you'd probably have to go with two different forms in a single project -- a touch screen interface does not typically port well to a smartphone, where cursor movement is limited to directional keys/wheels/joysticks/etc. your runtime detection would then select which form to display.
that said, why not just have two different projects, one with your pocket pc touchscreen interface, one with a smartphone-oriented interface, both referencing the same class library all your business logic and backend type work go on in the class library, each project is then responsible for the wire-up to its individual interface.