|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuicc.toolkit.TerminalProfile
public final class TerminalProfile
The TerminalProfile class contains methods to question the terminal
profile, regarding the support for "Common Application Toolkit CAT" and supposing that this
profile has been set by the Terminal Profile APDU command.
| Field Summary | |
|---|---|
static short |
IDX_ALIGNMENT_CENTER
Text Attribute: Alignment Center = 217 |
static short |
IDX_ALIGNMENT_LEFT
Text Attribute: Alignment Left = 216 |
static short |
IDX_ALIGNMENT_RIGHT
Text Attribute: Alignment Right = 218 |
static short |
IDX_BLUETOOTH
Bluetooth index = 98 |
static short |
IDX_CALL_CONTROLL_BY_NAA
Call Control by NAA index = 7 |
static short |
IDX_CELL_BROADCAST_DOWNLOAD
Cell Broadcast Download index = 2 |
static short |
IDX_CHTML_BROWSER_SUPPORTED
CHTML Browser supported = 163 |
static short |
IDX_COMMAND_RESULT
Command Result index = 8 |
static short |
IDX_CSD
CSD index = 96 |
static short |
IDX_DISPLAY_RESIZE
Display Resize index = 120 |
static short |
IDX_DISPLAY_TEXT
Display Text index = 15 |
static short |
IDX_EVENT_ACCESS_TECHNOLOGY_CHANGE
Event Access Technology Change index = 44 |
static short |
IDX_EVENT_BROWSER_TERMINATION
Event Browser Termination index = 41 |
static short |
IDX_EVENT_BROWSING_STATUS
Event: Browsing Status = 192 |
static short |
IDX_EVENT_CALL_CONNECTED
Event Call Connected index = 34 |
static short |
IDX_EVENT_CALL_DISCONNECTED
Event Call Disconnected index = 35 |
static short |
IDX_EVENT_CARD_READER_STATUS
Event Card Reader Status index = 39 |
static short |
IDX_EVENT_CHANNEL_STATUS
Event Channel Status index = 43 |
static short |
IDX_EVENT_DATA_AVAILABLE
Event Data Available index = 42 |
static short |
IDX_EVENT_DISPLAY_PARAMETER_CHANGED
Event Display Parameter Change index = 45 |
static short |
IDX_EVENT_IDLE_SCREEN_AVAILABLE
Event Idle Screen Available index = 38 |
static short |
IDX_EVENT_LANGUAGAE_SELECTION
Event Language Selection index = 40 |
static short |
IDX_EVENT_LOCAL_CONNECTION
Event Local Connection index = 46 |
static short |
IDX_EVENT_LOCATION_STATTUS
Event Location Status index = 36 |
static short |
IDX_EVENT_MT_CALL
Event MT Call index = 33 |
static short |
IDX_EVENT_NRETWORK_SEARCH_MODE_CHANGE
Event Network Search Mode = 47 |
static short |
IDX_EVENT_USER_ACTIVITY
Event User Activity index = 37 |
static short |
IDX_FONT_SIZE_LARGE
Text Attribute: Font Size Large = 220 |
static short |
IDX_FONT_SIZE_NORMAL
Text Attribute: Font Size Normal = 219 |
static short |
IDX_FONT_SIZE_SMALL
Text Attribute: Font Size Small = 221 |
static short |
IDX_GET_FRAMES_STATUS
Get Frames Status = 177 |
static short |
IDX_GPRS
GPRS index = 97 |
static short |
IDX_HTML_BROWSER_SUPPORTED
HTML Browser supported = 162 |
static short |
IDX_IRDA
IRDA index = 99 |
static short |
IDX_MENU_SELECTION
Menu Selection index = 3 |
static short |
IDX_MULTI_MEDIA_CALL_IN_SET_UP_CALL
Multi-media Call in SET UP CALL = 171 |
static short |
IDX_PLAY_TONE_MELODY_THEMED_TONES
Play Tone (melody Tones and Themed tones) = 170 |
static short |
IDX_PROACTIVE_UICC_CLOSE_CHANNEL
Proactive UICC Close Channel index = 89 |
static short |
IDX_PROACTIVE_UICC_DECLARE_SERVICE
Proactive UICC Declare Service index = 95 |
static short |
IDX_PROACTIVE_UICC_DISPLAY_TEXT
Proactive UICC Display Text index = 16 |
static short |
IDX_PROACTIVE_UICC_DISPLAY_TEXT_VARIABLE_TIMEOUT
Proactive UICC Display Text Variable Timeout index = 136 |
static short |
IDX_PROACTIVE_UICC_GET_CHANNEL_STATUS
Proactive UICC Get Channel Status index = 92 |
static short |
IDX_PROACTIVE_UICC_GET_INKEY
Proactive UICC Get Inkey index = 17 |
static short |
IDX_PROACTIVE_UICC_GET_INKEY_HELP_SUPPORTED
Proactive UICC Get Inkey Help Supported index = 137 |
static short |
IDX_PROACTIVE_UICC_GET_INKEY_VARIABLE_TIMEOUT
Proactive UICC Get Inkey Variable Timeout index = 139 |
static short |
IDX_PROACTIVE_UICC_GET_INPUT
Proactive UICC Get Input index = 18 |
static short |
IDX_PROACTIVE_UICC_GET_READER_STATUS_IDENTIFIER
Proactive UICC Get Reader Status (identifier) index = 52 |
static short |
IDX_PROACTIVE_UICC_GET_READER_STATUS_STATUS
Proactive UICC Get Reader Status (status) index = 51 |
static short |
IDX_PROACTIVE_UICC_GET_SERVICE_INFORMATION
Proactive UICC Get Service information index = 94 |
static short |
IDX_PROACTIVE_UICC_LANGUAGE_NOTIFICATION
Proactive UICC Provide Language Notification index = 69 |
static short |
IDX_PROACTIVE_UICC_LAUNCH_BROWSER
Proactive UICC Launch Browser index = 70 |
static short |
IDX_PROACTIVE_UICC_MORE_TIME
Proactive UICC More Time index = 19 |
static short |
IDX_PROACTIVE_UICC_OPEN_CHANNEL
Proactive UICC Open Channel index = 88 |
static short |
IDX_PROACTIVE_UICC_PERFORM_CARD_APDU
Proactive UICC Perform Card APDU index = 50 |
static short |
IDX_PROACTIVE_UICC_PLAY_TONE
Proactive UICC Play Tone index = 20 |
static short |
IDX_PROACTIVE_UICC_POLL_INTERVAL
Proactive UICC Poll Interval index = 21 |
static short |
IDX_PROACTIVE_UICC_POLLING_OFF
Proactive UICC Polling OFF index = 22 |
static short |
IDX_PROACTIVE_UICC_POWER_OFF_CARD
Proactive UICC Power Off Card index = 49 |
static short |
IDX_PROACTIVE_UICC_POWER_ON_CARD
Proactive UICC Power On Card index = 48 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_ACCESS_TECHNOLOGY
Proactive UICC Provide Local Information Access Technology index = 71 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_DATE_TIME
Proactive UICC Provide Local Information Date Time index = 58 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_LANGUAGE
Proactive UICC Provide Local Information Language index = 67 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_MCC_MNC_LAC_CELLID_IMEI
Proactive UICC Proactive Local Information MSS,MNC,LAC,CELLID,IMEI index = 30 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_NMR
Proactive UICC Provide Local Information NMR index = 31 |
static short |
IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_TIMING
Proactive UICC Provide local Information Timing index = 68 |
static short |
IDX_PROACTIVE_UICC_RECEIVE_DATA
Proactive UICC Receive Data index = 90 |
static short |
IDX_PROACTIVE_UICC_REFRESH
Proactive UICC Refresh index = 23 |
static short |
IDX_PROACTIVE_UICC_RUN_AT_COMMAND
Proactive UICC Run AT Command index = 61 |
static short |
IDX_PROACTIVE_UICC_SELECT_ITEM
Proactive UICC Select Item index = 24 |
static short |
IDX_PROACTIVE_UICC_SEND_DATA
Proactive UICC Send Data index = 91 |
static short |
IDX_PROACTIVE_UICC_SEND_SS
Proactive UICC Send SS index = 26 |
static short |
IDX_PROACTIVE_UICC_SERVICE_SEARCH
Proactive UICC Service Search index = 93 |
static short |
IDX_PROACTIVE_UICC_SET_UP_CALL
Proactive UICC Set Up Call index = 28 |
static short |
IDX_PROACTIVE_UICC_SET_UP_EVENT_LIST
Proactive UICC Set Up Event List index = 32 |
static short |
IDX_PROACTIVE_UICC_SET_UP_MENU
Proactive UICC Set Up Menu index = 29 |
static short |
IDX_PROACTIVE_UICC_TIMER_MANAGEMENT_CUR_VALUE
Proactive UICC Timer Management (current value) index = 57 |
static short |
IDX_PROACTIVE_UICC_TIMER_MANAGEMENT_START_STOP
Proactive UICC Timer Management (start, stop) index = 56 |
static short |
IDX_PROFILE_DOWNLOAD
Profile Download index = 0 |
static short |
IDX_PROVIDE_LOCAL_INFORMATION_BATTERY_STATE
Provide Local Information (Battery State) = 169 |
static short |
IDX_PROVIDE_LOCAL_INFORMATION_ESN
Provide Local Information ESN index = 140 |
static short |
IDX_PROVIDE_LOCAL_INFORMATION_IMEISV
Provide Local Information (IMEISV)= 142; |
static short |
IDX_PROVIDE_LOCAL_INFORMATION_SEARCH_MODE_CHANGE
Provide Local Information (Search Mode Change) = 143 |
static short |
IDX_RS232
RS232 index = 100 |
static short |
IDX_SCREEN_SIZING
Screen Sizing index = 111 |
static short |
IDX_SEND_DTMF
Send DTMF index = 65 |
static short |
IDX_SET_FRAMES
Set Frames = 176 |
static short |
IDX_SETUP_CALL
Proactive UICC Setup Call index = 62 |
static short |
IDX_SMS_PP_DOWNLOAD
SMS PP Download index = 1 |
static short |
IDX_SOFT_KEYS_SELECT_ITEM
Soft Keys Select Item index = 72 |
static short |
IDX_SOFT_KEYS_SET_UP_MENU
Soft Keys Set Up Menu index = 73 |
static short |
IDX_STYLE_BOLD
Text Attribute: Style Bold = 224 |
static short |
IDX_STYLE_ITALIC
Text Attribute: Style Italic = 226 |
static short |
IDX_STYLE_NORMAL
Text Attribute: Style Normal = 224 |
static short |
IDX_STYLE_STRIKETHROUGH
Text Attribute: Style Strikethrough = 228 |
static short |
IDX_STYLE_TEXT_BACKGROUND_COLOUR
Text Attribute: Style Text Background Colour = 230 |
static short |
IDX_STYLE_TEXT_FOREGROUND_COLOUR
Text Attribute: Style Text Colour = 229 |
static short |
IDX_STYLE_UNDERLINED
Text Attribute: Style Underlined = 227 |
static short |
IDX_TCP
TCP index = 128 |
static short |
IDX_TEXT_ATTRIBUTE
Text Attribute index = 123 |
static short |
IDX_TEXT_SCROLLING
Text Scrolling index = 122 |
static short |
IDX_TEXT_WRAPPING
Text Wrapping index = 121 |
static short |
IDX_TIMER_EXPIRATION
Time Expiration index = 5 |
static short |
IDX_UCS2_DISPLAY
UCS2 Display index = 14 |
static short |
IDX_UCS2_ENTRY
UCS2 Entry index = 13 |
static short |
IDX_UDP
UDP index = 129 |
static short |
IDX_USB
USB index = 138 |
static short |
IDX_VARIABLE_SIZE_FONTS
Variable Size Fonts index = 119 |
static short |
IDX_WML_BROWSER_SUPPORTED
WML Browser supported = 160 |
static short |
IDX_XHTML_BROWSER_SUPPORTED
XHTML Browser supported = 161 |
| Method Summary | |
|---|---|
static boolean |
check(byte index)
Checks a facility in the handset profile. |
static boolean |
check(byte[] mask,
short offset,
short length)
Checks a set of facilities in the handset profile. |
static boolean |
check(short index)
Checks a facility in the handset profile. |
static short |
copy(short startOffset,
byte[] dstBuffer,
short dstOffset,
short dstLength)
Copies a part of the handset profile in a buffer. |
static short |
getValue(short indexMSB,
short indexLSB)
Returns the binary value of a parameter, delimited by two indexes, from the handset profile. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short IDX_PROFILE_DOWNLOAD
public static final short IDX_SMS_PP_DOWNLOAD
public static final short IDX_CELL_BROADCAST_DOWNLOAD
public static final short IDX_MENU_SELECTION
public static final short IDX_TIMER_EXPIRATION
public static final short IDX_CALL_CONTROLL_BY_NAA
public static final short IDX_COMMAND_RESULT
public static final short IDX_UCS2_ENTRY
public static final short IDX_UCS2_DISPLAY
public static final short IDX_DISPLAY_TEXT
public static final short IDX_PROACTIVE_UICC_DISPLAY_TEXT
public static final short IDX_PROACTIVE_UICC_GET_INKEY
public static final short IDX_PROACTIVE_UICC_GET_INPUT
public static final short IDX_PROACTIVE_UICC_MORE_TIME
public static final short IDX_PROACTIVE_UICC_PLAY_TONE
public static final short IDX_PROACTIVE_UICC_POLL_INTERVAL
public static final short IDX_PROACTIVE_UICC_POLLING_OFF
public static final short IDX_PROACTIVE_UICC_REFRESH
public static final short IDX_PROACTIVE_UICC_SELECT_ITEM
public static final short IDX_PROACTIVE_UICC_SEND_SS
public static final short IDX_PROACTIVE_UICC_SET_UP_CALL
public static final short IDX_PROACTIVE_UICC_SET_UP_MENU
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_MCC_MNC_LAC_CELLID_IMEI
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_NMR
public static final short IDX_PROACTIVE_UICC_SET_UP_EVENT_LIST
public static final short IDX_EVENT_MT_CALL
public static final short IDX_EVENT_CALL_CONNECTED
public static final short IDX_EVENT_CALL_DISCONNECTED
public static final short IDX_EVENT_LOCATION_STATTUS
public static final short IDX_EVENT_USER_ACTIVITY
public static final short IDX_EVENT_IDLE_SCREEN_AVAILABLE
public static final short IDX_EVENT_CARD_READER_STATUS
public static final short IDX_EVENT_LANGUAGAE_SELECTION
public static final short IDX_EVENT_BROWSER_TERMINATION
public static final short IDX_EVENT_DATA_AVAILABLE
public static final short IDX_EVENT_CHANNEL_STATUS
public static final short IDX_EVENT_ACCESS_TECHNOLOGY_CHANGE
public static final short IDX_EVENT_DISPLAY_PARAMETER_CHANGED
public static final short IDX_EVENT_LOCAL_CONNECTION
public static final short IDX_EVENT_NRETWORK_SEARCH_MODE_CHANGE
public static final short IDX_PROACTIVE_UICC_POWER_ON_CARD
public static final short IDX_PROACTIVE_UICC_POWER_OFF_CARD
public static final short IDX_PROACTIVE_UICC_PERFORM_CARD_APDU
public static final short IDX_PROACTIVE_UICC_GET_READER_STATUS_STATUS
public static final short IDX_PROACTIVE_UICC_GET_READER_STATUS_IDENTIFIER
public static final short IDX_PROACTIVE_UICC_TIMER_MANAGEMENT_START_STOP
public static final short IDX_PROACTIVE_UICC_TIMER_MANAGEMENT_CUR_VALUE
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_DATE_TIME
public static final short IDX_PROACTIVE_UICC_RUN_AT_COMMAND
public static final short IDX_SETUP_CALL
public static final short IDX_SEND_DTMF
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_LANGUAGE
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_TIMING
public static final short IDX_PROACTIVE_UICC_LANGUAGE_NOTIFICATION
public static final short IDX_PROACTIVE_UICC_LAUNCH_BROWSER
public static final short IDX_PROACTIVE_UICC_PROVIDE_LOCAL_INFORMATION_ACCESS_TECHNOLOGY
public static final short IDX_SOFT_KEYS_SELECT_ITEM
public static final short IDX_SOFT_KEYS_SET_UP_MENU
public static final short IDX_PROACTIVE_UICC_OPEN_CHANNEL
public static final short IDX_PROACTIVE_UICC_CLOSE_CHANNEL
public static final short IDX_PROACTIVE_UICC_RECEIVE_DATA
public static final short IDX_PROACTIVE_UICC_SEND_DATA
public static final short IDX_PROACTIVE_UICC_GET_CHANNEL_STATUS
public static final short IDX_PROACTIVE_UICC_SERVICE_SEARCH
public static final short IDX_PROACTIVE_UICC_GET_SERVICE_INFORMATION
public static final short IDX_PROACTIVE_UICC_DECLARE_SERVICE
public static final short IDX_CSD
public static final short IDX_GPRS
public static final short IDX_BLUETOOTH
public static final short IDX_IRDA
public static final short IDX_RS232
public static final short IDX_SCREEN_SIZING
public static final short IDX_VARIABLE_SIZE_FONTS
public static final short IDX_DISPLAY_RESIZE
public static final short IDX_TEXT_WRAPPING
public static final short IDX_TEXT_SCROLLING
public static final short IDX_TEXT_ATTRIBUTE
public static final short IDX_TCP
public static final short IDX_UDP
public static final short IDX_PROACTIVE_UICC_DISPLAY_TEXT_VARIABLE_TIMEOUT
public static final short IDX_PROACTIVE_UICC_GET_INKEY_HELP_SUPPORTED
public static final short IDX_USB
public static final short IDX_PROACTIVE_UICC_GET_INKEY_VARIABLE_TIMEOUT
public static final short IDX_PROVIDE_LOCAL_INFORMATION_ESN
public static final short IDX_PROVIDE_LOCAL_INFORMATION_IMEISV
public static final short IDX_PROVIDE_LOCAL_INFORMATION_SEARCH_MODE_CHANGE
public static final short IDX_WML_BROWSER_SUPPORTED
public static final short IDX_XHTML_BROWSER_SUPPORTED
public static final short IDX_HTML_BROWSER_SUPPORTED
public static final short IDX_CHTML_BROWSER_SUPPORTED
public static final short IDX_PROVIDE_LOCAL_INFORMATION_BATTERY_STATE
public static final short IDX_PLAY_TONE_MELODY_THEMED_TONES
public static final short IDX_MULTI_MEDIA_CALL_IN_SET_UP_CALL
public static final short IDX_SET_FRAMES
public static final short IDX_GET_FRAMES_STATUS
public static final short IDX_EVENT_BROWSING_STATUS
public static final short IDX_ALIGNMENT_LEFT
public static final short IDX_ALIGNMENT_CENTER
public static final short IDX_ALIGNMENT_RIGHT
public static final short IDX_FONT_SIZE_NORMAL
public static final short IDX_FONT_SIZE_LARGE
public static final short IDX_FONT_SIZE_SMALL
public static final short IDX_STYLE_NORMAL
public static final short IDX_STYLE_BOLD
public static final short IDX_STYLE_ITALIC
public static final short IDX_STYLE_UNDERLINED
public static final short IDX_STYLE_STRIKETHROUGH
public static final short IDX_STYLE_TEXT_FOREGROUND_COLOUR
public static final short IDX_STYLE_TEXT_BACKGROUND_COLOUR
| Method Detail |
|---|
public static boolean check(byte index)
throws ToolkitException
index - the number of the facility to check, according to the table above.
ToolkitException - with the following reason codes:
public static boolean check(byte[] mask,
short offset,
short length)
throws java.lang.NullPointerException,
java.lang.ArrayIndexOutOfBoundsException,
ToolkitException
Notes:
offset or length parameter is negative an ArrayIndexOutOfBoundsException
exception is thrown and no check is performed.
offset+length is greater than mask.length, the length
of the mask array an ArrayIndexOutOfBoundsException exception is thrown
and no check is performed.
mask - a byte array containing the mask to compare with the profileoffset - the starting offset of the mask in the byte arraylength - the length of the mask (at least 1)
mask is equal to the
mask , false otherwise. If length is equal to 0, true is returned.
java.lang.NullPointerException - if mask is null
java.lang.ArrayIndexOutOfBoundsException - if check would cause access of data outside mask array bounds
ToolkitException - with the following reason codes:
public static boolean check(short index)
throws ToolkitException
index - the number of the facility to check, according to the table above.
ToolkitException - with the following reason codes:
public static short getValue(short indexMSB,
short indexLSB)
throws ToolkitException
indexMSB - index of the Most Significant Bit of the handset profile .indexLSB - index of the Lowest Significant Bit of the handset profile .
indexLSB bit in the TerminalProfile data is the Lowest Significant bit in the short returned value. If padding is necessary, the
returned value is left padded with 0. The values outside the TerminalProfile data available are considered to bet set to 0.
The return value is according to the following example:indexMSB=108 and indexLSB=104, the return value is the number of
characters down the Terminal display.indexMSB=31 and indexLSB=16, the return value is a short built
from the 4th and 3rd byte of the handset profile with the 4th byte as
the Most significant byte.ToolkitException - with the following reason codes: (indexMSB >= indexLSB +16) or (indexMSB < indexLSB) or
(indexMSB < 0) or (indexLSB < 0)
public static short copy(short startOffset,
byte[] dstBuffer,
short dstOffset,
short dstLength)
throws java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException,
ToolkitException
Notes:
dstOffset or dstLength parameter is negative an ArrayIndexOutOfBoundsException
exception is thrown and no copy is performed.
dstOffset+dstLength is greater than dstBuffer.length, the length
of the dstBuffer array an ArrayIndexOutOfBoundsException exception is thrown
and no copy is performed.
startOffset - offset of the handset profile first byte to be copieddstBuffer - destination byte arraydstOffset - offset within destination byte array to start copy intodstLength - byte length to be copy
java.lang.ArrayIndexOutOfBoundsException - if copy would cause access of data outside array bounds
java.lang.NullPointerException - if dstBuffer is null
ToolkitException - with the following reason codes:
- TERMINAL_PROFILE_NOT_AVAILABLE if Terminal Profile data are not available
- BAD_INPUT_PARAMETER if the
startOffset is negative
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||