Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Cool New Tools in Windows Mobile 6 : Page 4

While it may be some time before you can get your hands on a Windows Mobile 6 device, this early look at the Windows Mobile 6 SDK reveals some of the new tools and utilities you'll be using soon.


advertisement
GPS Test Utility—FakeGPS
One cool new utility in the Windows Mobile 6 SDK is the FakeGPS utility. This utility allows you to test GPS functionalities without the need to purchase a real GPS receiver. It works by reading sample GPS sentences and passing them to the GPS Intermediate Driver (GPSID). To test GPS functionalities with FakeGPS, perform the following steps:

  1. In Visual Studio 2005, select Tools | Device Emulator Manager…
  2. Right-click on the Windows Mobile 6 Professional Emulator and select Connect. This will launch the Windows Mobile emulator. Then right-click on it again and select Cradle. This will connect the Windows Mobile emulator with ActiveSync.


  3. In ActiveSync, click on the Explore button and a window will appear, displaying the folders inside the emulator. Double-click on the item named My Windows Mobile-Based Device.
  4. In Windows, open the folder containing the FakeGPS application (C:\Program Files\Windows Mobile 6 SDK\Tools\GPS) and copy the FakeGPS.cab into the folder opened by ActiveSync. When prompted, click Yes.
  5. In the Windows Mobile emulator, launch File Explorer and navigate to My Device. Tap on the FakeGPS item to install it on the device. The FakeGPS utility will not be installed in the My Device | Program Files | FakeGPS folder.
  6. Launch the FakeGPS utility and enable it (see Figure 11).


Figure 11. A Cool Utility: Using FakeGPS.
 
Figure 12. The Sample GPS Application: Running.

The Windows Mobile 6 SDKs contains a sample GPS application (C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CS\GPS) that talks to the GPSID through a managed wrapper. Figure 12 shows how the application looks like when run on the emulator.

Only the Beginning
This article has shown you some of the new tools and utilities that shipped with the Windows Mobile 6 SDKs. Future articles will dive more deeply into the new APIs offered by Windows Mobile 6, both native APIs and managed classes.



Wei-Meng Lee is a Microsoft MVP and founder of Developer Learning Solutions, a technology company specializing in hands-on training on the latest Microsoft technologies. He is an established developer and trainer specializing in .NET and wireless technologies. Wei-Meng speaks regularly at international conferences and has authored and coauthored numerous books on .NET, XML, and wireless technologies. He writes extensively on topics ranging from .NET to Mac OS X. He is also the author of the .NET Compact Framework Pocket Guide, ASP.NET 2.0: A Developer's Notebook (both from O'Reilly Media, Inc.), and Programming Sudoku (Apress). Here is Wei-Meng's blog.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap