Motorola maxx V6 manual Delivery of a Push Message, Draft Subject to Change 166/201

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 166
Image 166

Java ME Developer Guide

Chapter 22 - Network APIs

conn.send(txt_message); } else {

bin_message = (BinaryMessage) conn.newMessage(MessageConnection.BINARY_MESSAGE);

bin_message.setPayloadData(binary_data); conn.send(bin_message);

}

conn.close(); showMessage("Message sent");

} catch (Throwable t) {

showMessage("Unexpected " + t.toString() + ": " + t.getMessage());

}

}

}

}

Code Sample 10 Push Registry

22.9 Delivery of a Push Message

A push message intended for a MIDlet on the MOTORAZR maxx V6 handset will handle the following interactions:

MIDlet running while receiving a push message - if the application receiving the push message is currently running, the application will consume the push message without user notification.

No MIDlet suites running - if no MIDlets are running, the user will be notified of the incoming push message and will be given the option to run the intended application as shown in Figure 19 .

DRAFT - Subject to Change [166/201]

Page 166
Image 166
Motorola maxx V6 manual Delivery of a Push Message, Draft Subject to Change 166/201