Why your NetCF apps fail to call some web services

Here’s the scenario: You are writing an NetCF app and trying to call a web service from that app.  You generated the code for the client proxy class using Visual Studio’s “Add Web Reference” command.  Code is generated, you call into it, and you run your app.  The call fails with a cryptic error from…

3

NetCF 3.5’s Finalizer Log

The .NET Compact Framework has had several loggers (error, interop, loader, and networking) in previous versions.  NetCF 3.5 introduces the finalizer logger, which is useful for performance tuning your app by identifying which objects are not being Dispose()’d before being discarded for the garbage collector.  This post discusses this logger, how to enable it, use…

1

Platform detection III: How to detect a touch screen on Windows CE in .NET CF

Pocket PC’s have touch screens.  Smartphones don’t.  While it is straightforward to determine which of these a Windows Mobile device is, there are Windows CE devices that are neither.  Some may offer touch screens while others don’t.  Since a touch screen is really what you may be after (to determine whether you can expect a…

6

Platform detection II: Is your app running on Smartphone or Pocket PC?

While both Smartphones and Pocket PCs are based on Windows Mobile, there are some very important differences for developers who are targeting both platforms.  Not the least of which are lack of LinkButtons and other clickable elements on Smartphones (since they have no touch screen).  In this post I show how to detect whether your…

28

Platform detection I: How to detect that your app is running in the emulator

When you develop your Windows CE or Windows Mobile application in .NET Compact Framework, you probably do a lot of testing on the Microsoft Device Emulators for Smartphone and Pocket PC.  Here I describe how to detect whether your program is running on an emulator or a physical device. Microsoft’s Device Emulator gives itself away…

27