Reputation: 2069
Is it possible to open the Messages app programatically specifying the number and the message?
Instead of sending the message directly, I want to do this to allow people select a particular SIM before sending the message.
Upvotes: 0
Views: 3531
Reputation: 1856
yes it is possible
Intent intentsms = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:"+phone));
intentsms.putExtra("sms_body", "text of massege");
startActivity(intentsms);
Upvotes: 2