Created
August 6, 2020 12:30
-
-
Save Dmuasya/8969e1e12f9d5cda63a4765bd4c0cf0d to your computer and use it in GitHub Desktop.
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
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