Created
January 24, 2012 07:39
-
-
Save yassersouri/1668700 to your computer and use it in GitHub Desktop.
Sending SMS with andoroid
This file contains 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
private void sendSMS(String to, String text) { | |
SmsManager sms = SmsManager.getDefault(); | |
sms.sendTextMessage(to, null, text, null, null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment