Table 7 List Of Messaging Features/Classes Supported - Motorola V3x Technical Manual

2 cameras; 320x240 display
Hide thumbs Also See for V3x:
Table of Contents

Advertisement

16 bit reference number in concatenated messages
Number of concatenated messages.
Allow MIDlets to obtain the SMSC address with the
wireless.messaging.sms.smsc system property
The code sample 1 shows implementation of the JSR 120 Wireless Messaging API:
Creation of client connection and for calling of method 'numberOfSegments' for
Binary message:
BinaryMessage binMsg;
MessageConnection connClient;
int MsgLength = 140;
/* Create connection for client mode */
connClient = (MessageConnection) Connector.open("sms://" +
outAddr);
/* Create BinaryMessage for client mode */
binMsg =
(BinaryMessage)connClient.newMessage(MessageConnection.BINARY
_MESSAGE);
/* Create BINARY of 'size' bytes for BinaryMsg */
public byte[] createBinary(int size) {
byte[] newBin = new byte[size];
}
byte[] newBin = createBinary(msgLength);
binMsg.setPayloadData(newBin);
int num = connClient.numberOfSegments(binMsg);
Creation of server connection:
38

Table 7 List of Messaging features/classes supported

int nextByte = 0;
for (int i = 0; i < size; i++) {
nextByte = (rand.nextInt());
newBin[i] = (byte)nextByte;
if ((size > 4) && (i == size / 2)) {
newBin[i-1] = 0x1b;
newBin[i] = 0x7f;
}
}
return newBin;
Supported
30 messages in inbox, each can
be concatenated from 3 parts.
No limitation on outbox
(immediately transmitted)
Supported

Advertisement

Table of Contents
loading

Table of Contents