Motorola MOTORAZR maxx V6 Developer's Manual page 166

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

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());
}
}
}
}
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
Code Sample 10 Push Registry
[166/201]

Advertisement

Table of Contents
loading

Table of Contents