Security, GPS and Resolution Awareness Tools

4/8/2010

The Windows Mobile 6.5.3 DTK includes tools designed to help you create applications for Windows Mobile devices.

By default, the SDKs install the tools to <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools.

GPS

GPS-related tools help you create location-aware applications. For more information about using GPS, see Creating Applications that Utilize GPS.

Tool Description

FakeGPS

By using FakeGPS, you can use the GPS API to write applications that receive data even if there is no GPS receiver on the device. The application reads GPS data from NMEA .txt files installed by default to \Program Files\FakeGPS\GPSFiles.

FakeGPS must run in privileged mode because FakeGPS interacts with the GPS intermediate driver and writes to the privileged area of the registry.

FakeGPS ships with the following sample data files that install by default to <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\GPS:

  • dixies.txt: NMEA file that immediately starts sending a GPS location to the GPS driver.
  • fakegpsdata.txt: NMEA file that contains the same information as dixies.txt but does not immediately report a new GPS location to the DPS driver.

GPSSettings.exe

With GPSSettings.exe, on Windows Mobile Standard you can configure the GPS intermediate driver in the same way that you configure the GPS intermediate driver by using the GPS settings utility built into Windows Mobile Professional and Windows Mobile Classic.

For information about using this tool, see Configuring Your Device to Use GPS.

Resolution

Windows Mobile devices have various screen resolutions and orientations. The following tools help an application take advantage of larger screen sizes. For information about multiple display formats, see the topic Best Practices for Windows Mobile Application Compatibility.

Tool Description

SetDPI.exe

Sets the DPI of a bitmap (.bmp) file.

Usage: setdpi <filename>.bmp <dpi>

Default location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Resolution Aware

HIDPI.exe and RES2EXE.exe

Marks a .NET Compact Framework application as resolution aware. For more information, see this Microsoft Web site.

Default location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Resolution Aware

Security

Several tools and sample security certificates help you discover, simulate, and predict issues regarding security. For more information about the Windows Mobile Security Model, see Deployment, Setup, Security and You.

Tool Description

RapiSecurity

Provides .cpf files and related provisioning XML documents through which you can change RAPI policy on a device.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\RapiSecurity

SDK Development Certificates

Contains .cer, .pfx, .pvk and .spc files for Privileged, Unprivileged, and Failsafe SDK development certificates. You can provision the SDK development certificates on the device by using Certs.xml and .cab.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\SDK Development Certificates

Security Configuration Manager Powertoy for Windows Mobile

Runs on a development workstation and provides you with the ability to remotely complete the following tasks:

  • Examine the security configuration of a Windows Mobile device.
  • Provision one of the Standard Security Configurations to a Windows Mobile device.
  • Save the security configuration of a Windows Mobile device.
  • Add a development certificate to a Windows Mobile device.
  • Sign a file with a Signing Certificate.
  • Check the digital signature of a file.

To install the Security Configuration Manager Powertoy for Windows Mobile, run Setup.msi.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\Security Powertoy

For more information, see Security Configuration Manager Powertoy for Windows Mobile.

Security Configuration

Provides .cpf files and related provisioning XML documents through which you can change security policies on the device to one of the standard security configurations.

Default Location:

<SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Pocket PC\Security\Security Configuration

<SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Smartphone\SecurityConfiguration

RapiConfig.exe

Remotely executes provisioning XML documents on a Windows Mobile device or emulator connected to a development workstation by using ActiveSync.

For more information, see this Microsoft Web site.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\RapiSecurity\RapiConfig

Revoke.exe

Generates the hash of a certificate or application and outputs an XML document to provision the device to revoke the application or certificate.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools

CabSignTool.exe

Signs a .cab file and related .exe and .dll files with specified certificates to help you prepare an application for distribution.

Default Location: <SYSTEM DRIVE:>\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\CabSignTool

See Also

Other Resources

Development Tools and Resources for Windows Mobile