Smsmanager, Send Attachment In Sms
How do I add an 'attachment' into my SmsManager object when I'm trying tro send an sms? My current function for sending a normal sms is: public void send() { SmsManager sms = S
Solution 1:
follow the code
IntentsendIntent=newIntent(Intent.ACTION_VIEW);
sendIntent.putExtra("sms_body", "default content");
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);
and add permission
<uses-permissionandroid:name="android.permission.SEND_SMS" />
Post a Comment for "Smsmanager, Send Attachment In Sms"