Add a SmsListener so that it can be notified when new SMS from specific address and application port has been received.paramfrom The address of the sender.paramport The application port.paramlistener The listener which will be notified when SMS received.
The max number of bytes an SMS can take.returnthe max number of bytes an SMS can take.
Remove a SmsListener from the service so that it won't be notified anymore.paramlistener The listener to be removed.
Sends a data SMS to the destination.paramdest The address to send the message to.paramport The port to deliver the message to.paramdata The body of the message to send.
Sends a data SMS to the destination.paramdest The address to send the message to.paramport The port to deliver the message to.paramdata The body of the message to send.paramcallback If not null, it will be notified if the message could not be sent.