Send Sms Programmatically Android

[Solved] Send Sms Programmatically Android | Swift - Code Explorer | yomemimo.com
Question : send sms programmatically android

Answered by : stockholm

Intent intent = new Intent( Intent.ACTION_VIEW, Uri.parse( "sms:" + srcNumber)); intent.putExtra( "sms_body", message ); startActivity(intent);

Source : https://stackoverflow.com/questions/26311243/sending-sms-programmatically-without-opening-message-app | Last Update : Thu, 05 Nov 20

Question : how to open sms app on android programmatically

Answered by : depressed-dog-a1fa9gg7f0gn

Intent intent = new Intent( Intent.ACTION_VIEW); intent.setData(Uri.parse("smsto:" + Uri.encode(phoneNumber))); intent.putExtra( "sms_body", "" ); startActivity(intent);

Source : | Last Update : Mon, 03 May 21

Answers related to send sms programmatically android

Code Explorer Popular Question For Swift