Oracle Application Server Wireless Developer's Guide 10g (9.0.4) Part Number B10948-01 |
|
This appendix contains information about media types, their features and capabilities. Topics include:
The CSS Media Query syntax consists of two parts:
The CSS Media queries allow media type and media features to be used together in Query style syntax. For example:
media="handheld and (color)"
The query syntax also allows you to specify not and only conditions (by default only is assumed if nothing is specified). For example:
mxml:media="not all and (color)"
The Media Query Syntax is defined in CSS3 Media queries at: http://www.w3.org/TR/css3-mediaqueries
OracleAS Wireless supports the following Media Types (in mxml:media
attribute):
A list of Media Features are specified by CSS3 Media Queries specification. OracleAS Wireless will only support the following set of media features:
Description: Specifies the number of bits per color component supported by the target device
min-property: min-color
max-property: max-color
Values: <integer>
Applies To: Visual Media
Description: Specifies number of bits per pixel supported by the target (monochrome) device
min-property: min-monochrome
max-property: max-monochrome
Values: <integer>
Applies To: Visual Media
Description: Specifies the screen height requirements of the target device
min-property: minidevice-width
max-property: max-device-width
Values: <length> (Supported length units in, cm, mm, pt, pc, px, em)
Applies To: Visual Media
Description: Specifies the screen height requirements of the target device
min-property: min-device-height
max-property: max-device-height
Values: <length>
(Supported length units in, cm, mm, pt, pc, px, em)
Applies To: Visual Media
Description: Specifies the aspect ratio requirements of the target device
min-property: min-device-aspect-ratio ("min-device-aspect-ratio:1" implies Portrait)
max-property: max-device-aspect-ratio ("max-device-aspect-ratio:1" implies Landscape)
Values: <ratio>
(<integer>
/<integer>
)
Applies To: Visual Media
Description: Specifies grid versus bitmap requirements of the target device
min-property: No
max-property: No
Values: <integer>
(Value of 1 indicates the device display type that is grid-based and a value of 0 indicates a bitmap display type)
Applies To: Visual Media
The following is an extended list of media features defined by OracleAS Wireless:
Description: Specifies paged versus continuous medium
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the paged device medium (such as a WML Phone device or printer) and value of 0 indicates a continuous device medium such as a desktop screen
Applies To: Visual Media
Description: Specifies if device is capable if text input. Devices at the minimum are assumed to have a phone key pad
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device supports text input and a value of 0 indicates a device only supports a phone keypad
Applies To: All Media
Description: Specifies the type of keyboard support
min-property: No
max-property: No
Values: PhoneKeypad | Qwerty | Disambiguating
Applies To: All Media
Description: Specifies if the target medium supports rendering layouts (tables, grids)
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device supports layout rendering and value of 0 indicates no native support for layout rendering
Applies To: Visual Media
Description: Specifies if the target platform supports speech grammars
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device supports speech grammars and value of 0 indicates the device does not have speech grammars capability
Applies To: All Media
Description: Specifies if the target platform has text-to-speech capabilities when a page is rendered in Aural mode
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device supports text-to-speech, and value of 0 indicates device does not have text-to-speech capability
Applies To: Aural Media
Description: Specifies if the target platform supports speech recording
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device can record speech, and value of 0 indicates device has no speech record
Applies To: All Media
Description: Specifies the network mode of the target device
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the device is currently operating in messaging mode in which the request and response are not blocked calls to the remote resource. Value of 0 means device is operating in a synchronous mode, where each request has a response
Applies To: All Media
Description: Specifies if the network allows voice-call to be initiated from the device agent
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the voice-call can be initiated and a Value of 0 indicates voice-calls cannot be initiated
Applies To: All Media
Description: Specifies if the network allows call control of voice calls initiated from the device's agent. Call Control enables features such as transfer
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the call-control is supported and Value of 0 indicates call-control is not supported
Applies To: All Media
Description: Specifies if the network allows email messages to be initiated from the device's agent
min-property: No
max-property: No
Values: <integer>
. Value of 1 indicates the email can be initiated and Value of 0 indicates email cannot be initiated
Applies To: All Media
Description: Specifies the minimum and maximum content length size supported by the network
min-property: Yes
max-property: Yes
Values: <Message Length>
(size in bytes, for example: "content-length: 10"
)
Applies To: All Media
|
![]() Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|