Silverlight for mobile is great. It allows you to build Rich (Mobile) Internet Application quickly and easily, using XAML and C#. HOWEVER, the .NET Compact Framework is not dead! Depending on the scenario and the application you are building, the .NET CF could still be the best technology to adopt (as we’ve seen in the MLB202 session at Tech ED EMEA).
Using the .NET Compact Framework you have access to all the low level APIs of your phone, including those need to build advanced UI with custom controls, transparency and so on…
With the support of Marco Bodoira, Embedded Consultant at BEPS Engineering, we built a sample solution to show how to use the .NET Compact Framework 3.5 and Windows Mobile’s APIs to create “graphically advanced” applications.
The article (and the source code!) will give you an overview of:
- Writing custom controls
- Using the double buffering
- Adding alpha channel transparency
- Building custom a Message Box
- Interacting with the phone API
Thanks again to Marco and BEPS Engineering for their support.