Table of Contents
3
JAVA.LANG SUPPORT................................................................................................................................. 29
8 NETWORK APIS .................................................................................................................................... 30
NETWORK CONNECTIONS............................................................................................................................. 30
USER PERMISSION .................................................................................................................................... 32
HTTPS CONNECTION ................................................................................................................................32
9 JSR 135 MOBILE MEDIA API........................................................................................................ 35
JSR 135 MOBILE MEDIA API............................................................................................................... 35
TONECONTROL............................................................................................................................................ 36
GUICONTROL............................................................................................................................................. 37
VOLUMECONTROL ........................................................................................................................................ 37
STOPTIMECONTROL.................................................................................................................................... 38
MANAGER CLASS ........................................................................................................................................ 38
AUDIO MEDIA............................................................................................................................................ 38
10 JSR 120 – WIRELESS MESSAGING API .................................................................................. 41
WIRELESS MESSAGING API (WMA)........................................................................................................ 41
SMS CLIENT MODE AND SERVER MODE CONNECTION.............................................................................. 41
SMS PORT NUMBERS................................................................................................................................. 42
SMS MESSAGE TYPES............................................................................................................................... 43
SMS MESSAGE STRUCTURE ....................................................................................................................... 43
SMS NOTIFICATION ................................................................................................................................. 43
11 PHONEBOOK ACCESS API............................................................................................................... 49
PHONEBOOK ACCESS API ......................................................................................................................... 49
PHONEBOOK ACCESS API PERMISSIONS.................................................................................................. 49
12 TELEPHONY API................................................................................................................................54
DIALER CLASS.......................................................................................................................................... 54
CLASS DIALEREVENT................................................................................................................................54
CLASS DIALER.......................................................................................................................................... 56
getDefaultDialer........................................................................................................................ 57
setDialerListener ..................................................................................................................... 57
startCall ........................................................................................................................................ 58
startCall ........................................................................................................................................ 58
sendExtNo ........................................................................................................................................ 58
endCall............................................................................................................................................. 59
INTERFACE DIALERLISTENER................................................................................................................... 59
SAMPLE DIALERLISTENER IMPLEMENTATION ........................................................................................... 59
notifyDialerEvent ..................................................................................................................... 61
CLASS HIERARCHY .................................................................................................................................... 61
INTERFACE HIERARCHY............................................................................................................................. 61
13 SERIAL PORT ACCESS.................................................................................................................... 62
14 SMS MESSAGING AS GSM EXTENSION ....................................................................................... 63
CREATING A MESSAGE............................................................................................................................... 63
SENDING A MESSAGE ................................................................................................................................63
VIEWING A MESSAGE ................................................................................................................................64
DELETING A MESSAGE............................................................................................................................... 64
15 USER DISPLAY INTERFACE .......................................................................................................... 65