What's New in the Third Edition
The third edition of this book is a major revision that adds significant new text about a variety of subjects from the Smartphone to Bluetooth. The book has been updated to cover the new features of Windows CE .NET 4.2. New chapters have also been added to cover the Smartphone and the .NET Compact Framework. A number of chapters have been significantly expanded to cover topics such as OBEX, Bluetooth, and services. Other chapters have been reorganized to better present the topics.A chapter has been added covering the Smartphone and the communication features of the Pocket PC Phone Edition. This chapter covers how to write applications for the Smartphone 2003 device. Also covered is how to write applications that work with the connection manager and send and receive messages through the Short Message Service (SMS) system on both the Smartphone and the Pocket PC Phone Edition.There is a new chapter on the .NET Compact Framework. This chapter covers how to write managed applications on Windows CE. After an introduction to managed applications, the chapter concentrates on Windows Forms applications, the unique classes of the .NET Compact Framework. A significant portion of the chapter covers how to call from managed code to unmanaged or native code since there are times when the managed class library doesn't provide the functionality necessary for the application.The device-to-device communication chapter contains coverage on Bluetooth and OBEX. Bluetooth is a wireless communication standard that frankly isn't well explained in many texts. This chapter explains Bluetooth and provides a simple, straightforward example of its use. It also contains a section on OBEX, the Object Exchange standard that's used by both Bluetooth and Infrared Data Association (IrDA). Another example in the chapter uses OBEX to send files to other devices over either Bluetooth or IrDA.The Pocket PC chapters have been updated to cover the new features of the Pocket PC 2003 devices. The menu bar example from the Pocket PC chapter in the second edition of this book has been moved to the common controls chapter, reflecting the move of the Pocket PC API to the general operating system features in the latest version of Windows CE.The drivers and services chapter has been updated to cover Windows CE services. Windows CE services were introduced in Windows CE .NET 4.0. Services provide a way to have code running in the background without the overhead of a separate process for the service. The operating system also provides a super service that can monitor IP ports and notify a service when a client connects to that port. A simple Windows CE service example is provided in the chapter, demonstrating how to write a service and use the features of the super service.For those owners of the first edition of this book, this edition contains all the new features of the second edition as well. Those updates included extensive coverage of the Pocket PC and Windows CE device drivers. Also, the new memory management and threading features that have been implemented since the first edition was published make this edition a significant update.