Sending Intents

pocmo edited this page Feb 4, 2013 · 2 revisions
Clone this wiki locally

An Intent is sent by using the Transmitter class. A TransmitterException is thrown in case of error.

Sample code

// Create an Intent object to send.
Intent intent = new Intent();

// Transmitter using default multicast address and port.
Transmitter transmitter = new Transmitter(); 

try {
} catch (TransmitterException exception) {
    // Handle error