Hardware Considerations
This topic describes speech application issues that are caused by unique aspects of Pocket PC hardware. Generally, the Pocket PC requires more condensed page layout and briefer text. Additional issues appear in the following list.
- Only three fonts are guaranteed to be present on a Pocket PC: Tahoma, Courier, and Bookdings.
- Pocket Internet Explorer does not have the Status Bar.
Enabling the Hardware Button
To make use of the hardware button, add the hardwarebutton element to an HTML page, and bind the button to the Speech Add-in for Microsoft Pocket Internet Explorer. Both procedures are described in this section.
To add the hardwarebutton element to an HTML page
On Pocket Internet Explorer, to enable the hardware button, create an HTML page that enables the hardwarebutton element. The hardwarebutton element is provided by the Speech Add-in for Microsoft Pocket Internet Explorer. The following sample page enables the hardwarebutton element, triggers the Start method of the prompt element when the button is clicked, and triggers the Stop method of the prompt element when the button is released.
<HTML xmlns:msmm = "https://schemas.microsoft.com/speech/2002/12/salt/multimodal">
<msmm:hardwarebutton onhardwarebuttonpress="prompt2.Start()" onhardwarebuttonrelease="prompt2.Stop()">
</msmm:hardwarebutton>
</HTML>
The following sample page is similar to the previous one, but triggers the Start and Stop methods of the listen element, instead. FakePre-fe096c768f9543a88b15bcbfe0c57c11-775409bcefa34ae8b9c2d2cd66c446b4
To bind the hardware button to Speech Add-in for Microsoft Pocket Internet Explorer
- In the Pocket PC tap Start, and then Settings.
- On the Personal tab, tap Buttons.
- Tap a button in the Button Assignment table, and then in the Button assignment drop-down list, select Speech Add-in for Pocket IE to map the selected button to the hardwarebutton element.
Testing Microphone Capabilities
There is a wide variance in microphone and sound card performance among different Pocket PC models. Different models have different audio capabilities. Users should experiment with different models to find the one that best suits their needs.
Note If a prompt for a Pocket Internet Explorer speech application has BargeIn set to true, prompt playback on the Pocket PC device will often trigger recognition. For optimal Pocket Internet Explorer speech application performance, design the application so that it does not require the use of BargeIn, or require application users to use a headset.
See Also
Using the Speech Add-in for Microsoft Pocket Internet Explorer