Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public void sendingSms(){
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage("+254700000000", null, "https://www.google.com/maps/dir/?api=1&destination=lat,lng", null, null);
Toast.makeText(getApplicationContext(), "SMS SENT",
Toast.LENGTH_LONG).show();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.