Testing the Application
Now, you can test the two applications. First, you need to ensure that your PC has an infrared port. If not, you can use an infrared USB adapter, which can be purchased for less than $10.00.
|Figure 3. Action! Testing the two applications.|
Run the Infrared_Desktop application first and then deploy the IrDA application to your Windows Mobile 5.0 Pocket PC. Align the infrared port on the Pocket PC with the port on your PC. On the Pocket PC, click the "Select image to send" button to select an image. Then, click the Send button to send the image over to the PC. Figure 3 shows the Pocket PC and PC applications in action.
Quick and Easy
See how easy it is to exchange data between a Pocket PC and a PC using infrared? Infrared is well suited for applications that require a quick and easy way to exchange data, all without the burden of asking the user to perform a series of complicated steps.