This is the full-page version of the table on /wap/uaprofRef/uaprofRef.asp?page=hardwarePlatform.

User Agent Profile / UAProf Reference -- HardwarePlatform Component

UAProf Attribute / Property

Description

Example

BitsPerPixel

The BitsPerPixel attribute states the number of bits that a pixel uses to represent colors. You can use BitsPerPixel to calculate the number of colors supported by the screen.

For example, if BitsPerPixel is 16, it means the screen of the mobile device can display 216 = 65536 colors.

<prf:BitsPerPixel>16</prf:BitsPerPixel>


<prf:BitsPerPixel>18</prf:BitsPerPixel>

BluetoothProfile

The BluetoothProfile attribute states the Bluetooth profiles supported by the mobile device.

Bluetooth profiles were defined in the Bluetooth specification.

To find the Bluetooth version that the mobile device supports, see the SupportedBluetoothVersion attribute of the NetworkCharacteristics component.

<prf:BluetoothProfile>
  <rdf:Bag>
    <rdf:li>headset</rdf:li>
    <rdf:li>dialup</rdf:li>
    <rdf:li>lanaccess</rdf:li>
  </rdf:Bag>
</prf:BluetoothProfile>

ColorCapable

The ColorCapable attribute states whether the screen of the mobile device can display colors.

To find the number of colors supported by the screen, use the BitsPerPixel attribute of the HardwarePlatform component.

<prf:ColorCapable>Yes</prf:ColorCapable>


<prf:ColorCapable>No</prf:ColorCapable>

CPU

The CPU attribute states the name and model of the CPU used by the mobile device.

<prf:CPU>Pentium</prf:CPU>


<prf:CPU>ARM</prf:CPU>

ImageCapable

The ImageCapable attribute states whether the mobile device can display images.

To find the image formats supported, you can use the CcppAccept attribute of the SoftwarePlatform component. For example, if "image/gif" is found in CcppAccept, it means the mobile device supports the GIF image format.

<prf:ImageCapable>Yes</prf:ImageCapable>


<prf:ImageCapable>No</prf:ImageCapable>

InputCharSet

The InputCharSet attribute states the character sets that can be used for text input.

<prf:InputCharSet>
  <rdf:Bag>
    <rdf:li>ISO-8859-1</rdf:li>
    <rdf:li>US-ASCII</rdf:li>
    <rdf:li>UTF-8</rdf:li>
    <rdf:li>ISO-10646-UCS-2</rdf:li>
  </rdf:Bag>
</prf:InputCharSet>

Keyboard

The Keyboard attribute states the keyboard type of the mobile device.

<prf:Keyboard>PhoneKeypad</prf:Keyboard>


<prf:Keyboard>Qwerty</prf:Keyboard>

Model

The Model attribute states the model of the mobile device.

For Nokia 6230i:

<prf:Model>6230i</prf:Model>


For Sony Ericsson W800i:

<prf:Model>W800i</prf:Model>

NumberOfSoftKeys

The NumberOfSoftKeys attribute states the number of softkeys available on the mobile device.

<prf:NumberOfSoftKeys>2</prf:NumberOfSoftKeys>

OutputCharSet

The OutputCharSet attribute states the character sets that can be used for text output.

<prf:OutputCharSet>
  <rdf:Bag>
    <rdf:li>ISO-8859-1</rdf:li>
    <rdf:li>US-ASCII</rdf:li>
    <rdf:li>UTF-8</rdf:li>
    <rdf:li>ISO-10646-UCS-2</rdf:li>
  </rdf:Bag>
</prf:OutputCharSet>

PixelAspectRatio

The PixelAspectRatio attribute states the ratio of the width of one pixel to the height of one pixel.

Example: If the ratio is 1:1, you will find the value 1x1 in PixelAspectRatio. Note that the "x" character is used instead of the ":" character.

<prf:PixelAspectRatio>1x1</prf:PixelAspectRatio>

ScreenSize

The ScreenSize attribute states the screen size in pixels. The first value is the screen width and the second value is the screen height.

<prf:ScreenSize>208x208</prf:ScreenSize>


<prf:ScreenSize>176x220</prf:ScreenSize>

ScreenSizeChar

The ScreenSizeChar attribute states the screen size in characters. The largest character of the standard font of the mobile device is used as the unit. The first value is the screen width and the second value is the screen height.

For example, if ScreenSizeChar is 18x5, it means the screen of the mobile device can fill 18 characters in a row and 5 characters in a column.

<prf:ScreenSizeChar>18x5</prf:ScreenSizeChar>


<prf:ScreenSizeChar>12x8</prf:ScreenSizeChar>

SoundOutputCapable

The SoundOutputCapable attribute states whether the mobile device can output sound.

<prf:SoundOutputCapable>Yes</prf:SoundOutputCapable>


<prf:SoundOutputCapable>No</prf:SoundOutputCapable>

StandardFontProportional

The StandardFontProportional attribute states whether the standard font used by the mobile device is proportional.

<prf:StandardFontProportional>Yes</prf:StandardFontProportional>


<prf:StandardFontProportional>No</prf:StandardFontProportional>

TextInputCapable

The TextInputCapable attribute states whether a user can input text into the mobile device.

For example, if TextInputCapable is Yes, it means the user can enter both alphabets and numeric characters. If TextInputCapable is No, it means the user cannot enter alphabets but only numeric characters into the mobile device.

<prf:TextInputCapable>Yes</prf:TextInputCapable>


<prf:TextInputCapable>No</prf:TextInputCapable>

Vendor

The Vendor attribute states the manufacturer of the mobile device.

<prf:Vendor>Nokia</prf:Vendor>


<prf:Vendor>Sony Ericsson Mobile Communications</prf:Vendor>

VoiceInputCapable

The VoiceInputCapable attribute states whether the mobile device supports voice input.

<prf:VoiceInputCapable>Yes</prf:VoiceInputCapable>


<prf:VoiceInputCapable>No</prf:VoiceInputCapable>