This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This code sample is named PhoneIme. It demonstrates how to create a custom Input Method for Windows Mobile Standard.

Feature Area

Relevant APIs

Source File Listing


Contains the bitmap used as the image list for numeric entry modes.


Contains the conversion engine that implements MultiTap.


Contains the front-end to the Input Method Editor (IME). Calls the converter for the active mode.


Contains the CreateFullScreenWindow helper function.


Contains the CMTapConverter class implementation. Conversion engine wrapper.


Contains the MultiTap IME wrapper for the input converter.


Contains the IME wrapper for the input converter. Contains the DLL entry points.


Contains the resources for the IME.


Contains the IME wrapper for input converter. Contains the CPressHOldDetectorClass implementation.


Contains the Symbols menu.


Contains the composition string utilities functions.


To run the code sample
  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Smartphone\cpp\Win32\PhoneIme

    Microsoft Visual Studio launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

    If you have not installed the SamplePrivDeveloper certificate, you will need to so that your Dll and CAB projects are signed correctly.

    To install the certificate from the windows desktop

  4. Click Start > Run.

  5. Type the path-name to SamplePrivDeveloper.pfx certificate, and click OK. By default, this is located in the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Tools\Security\SDK Development Certificates

  6. Double-click the SamplePrivDeveloper.pfx certificate icon. The Certificate Import Wizard appears.

  7. Click Next. The certificate path-name is filled-in.

  8. Click Next.

  9. Click Next (you do not need a password).

  10. Click Next. Accept the default options; automatically select the certificate store based on certificate type.

  11. Click Finish.

For further details on how to install the SDK certificates onto the mobile device and how to use the privileged SDK certificate to sign this application, see Certificate Management and Application Signing for Application Developers.

Development Environments

SDK:Windows Mobile Standard SDK 

Development Environment:Visual Studio 2005 or 2008.

ActiveSync:Version 4.5.

See Also