Page 199 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 199

PDA 09  5/27/03  8:50 AM  Page 175
                                            Chapter 9 / PDA Robot Software for Pocket PC 2002
                                      Server, that are automatically synchronized upon connection to
                                      the remote data source.
                                 Building the PDA Robot Pocket PC Application

                                 To build the application, first, download and install the free eVC 3.0
                                 IDE  and  Pocket  PC  2002  SDK  installations  from  the  Microsoft  site.
                                 Start  the  eVC  IDE  and  click  File/New.  Select  WCE  Pocket  PC  2002
                                 MCF App Wizard and name the project. Check the central processing
                                 units (CPUs) you would like to include as targets. To use the emulator,
                                 you  must  check  the  WCE  x86.  Check  the  other  CPUs  such  as  WCE
                                 ARM.PDABot. Click OK and select Dialog Based and the language you
                                 want. Click Next and be sure to check the Windows Sockets option.
                                 Enter the title you want in the case “PDA Robotics.” Click Next, Next,
                                 Finish. The project has now been created and we can begin placing the
                                 buttons and edit boxes on the screen.

                                 Switch to the Resources tab, Under PDABot resources/Dialog, double-
                                 click  on  IDD_PDABOT_DIALOG.  The  blank  form  will  appear,  on
                                 which we will add the buttons and two edit boxes. Place the controls
                                 as shown in Figure 9.4.


                                                                                    Figure 9.4
                                                                                    Editing the
                                                                                    resources.


























                                                                                               175
   194   195   196   197   198   199   200   201   202   203   204