Example of how to write a C# application that works on PPC and Smartphone

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

Hello All,

I am just wondering if there are any examples out there that
demonstrates how to create an application that will work on the PPC and
the Smartphone.

regards,
Jay
 
Brian said:

The tips in the article that Brian references (although they are for
eVC++ 4.0, and the OP asked about C#) are still valid, IMO (although you
need to put a .NET CF spin on them).

One option that you may wish to consider (possibly violating your
initial constraint) is to create different UIs for the respective
platforms implemented with a pattern such as MVP or MVC to get all of
the logic out of the UI. Outside of the UI, all business logic is
platform-independent, so you'll have no worries there. The data layer is
potentially platform-independent as well, but it depends on what version
of PPC/SP you are on and what your data store is. (e.g. SQL Mobile 2005
runs on both WM5.0 PPC & WM5.0 SP, but SQL CE 2.0 only runs on WM2003
PPC, not WM2003 SP).

hth
 
Back
Top