java - Android send SMS from code -
          this question has answer here:                               send sms in android                                         14 answers                                          in android there option make call code , there  option move user caller app number , let him call himself. have code move user sms app content ready:   uri smsuri = uri.parse("sms:0542158081"); intent intent = new intent(intent.action_view, smsuri); intent.putextra("sms_body", text); startactivity(intent);   but want send sms code phone call instead of waiting user. how can it?          user smsmanager so   smsmanager smsmanager = smsmanager.getdefault(); smsmanager.sendtextmessage("phonenumber", null, "sms message", null, null);