Created
March 4, 2016 14:38
-
-
Save codenameone/da23d33b1a9e105efffd to your computer and use it in GitHub Desktop.
Sample Usage of the Codename One SMS API's
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch(Display.getInstance().getSMSSupport()) { | |
case Display.SMS_NOT_SUPPORTED: | |
return; | |
case Display.SMS_SEAMLESS: | |
showUIDialogToEditMessageData(); | |
Display.getInstance().sendSMS(phone, data); | |
return; | |
default: | |
Display.getInstance().sendSMS(phone, data); | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment