Compatibility question

V

vbMark

Hi, I have a few questions here,

I am developing an application for the Smartphone and I'm using the
Smartphone emulator in the 2003 .donet compact framework.

My questions are:

1) Will this same code also run on an iPaq and Pocket PC? That is, is it
cross platform compatible?

2) Also, is there an emulator for the iPaq? I can't seem to find one.

3) How do I test back and forth between platforms easily?

Thanks!!
 
E

Ed Kaim

1) Will this same code also run on an iPaq and Pocket PC? That is, is it
cross platform compatible?
Yes, but with caveats. There is only one .NET Compact Framework, so apps you
build will load and run, regardless of the underlying OS, without requiring
recompile. However, you need to be aware of what the underlying OS supports.
For example, there is no "button" in the Smartphone OS, so you'll get a
NotSupported exception if you try to instantiate one. The exception will
occur at the time of instantiation, so you can have an assembly that uses
buttons, as long as they have runtime logic that avoids using buttons when
running on Smartphone.
2) Also, is there an emulator for the iPaq? I can't seem to find one.
I don't know of an emulator specific to the iPaq. Skinning the emulator
isn't too hard to do if you really need it.
3) How do I test back and forth between platforms easily?
I tend to just brute force it by having two projects (for Smartphone and
PPC) that use the same files (it's easy to have multiple .sln files in the
same dir). There might be a better way, but this seems to work relatively
well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top