Showing the GPS Settings Icon

Windows Mobile 6.5

On devices running Windows Mobile 6.5, you can launch the GPS Settings dialog by clicking its icon in the Settings window. On some Windows Mobile Version 5.0-based devices, depending on the manufacturer, this option is hidden. If you are going to create a managed GPS application that targets Windows Mobile Version 5.0-based devices, your application should be able to reveal the icon by modifying the registry. You can add this functionality to a Settings form for your application or add it to a custom installation dll. Your application's documentation should also mention this issue.

To display the GPS Settings icon, if it is hidden, an application should check the registry value HKLM\ControlPanel\GPS Settings for the value “Hide” or “Redirect” and deletes these values if they are present. The following example shows how to do this in managed code.

private void showGPSSettingsItem_Click(object sender, EventArgs e)
  Microsoft.Win32.RegistryKey key;
  key = Microsoft.Win32.Registry.LocalMachine.
  OpenSubKey("ControlPanel\\GPS Settings", true);

  if (key.GetValue("Hide") != null)
  if (key.GetValue("Redirect") != null)

Community Additions