not showing "Messaging" option when try to send MMS programatically
We are using below code to send MMS but in some devices showing "Messaging" option but in some devices not showing "Messaging" option. And its showing rest of options like bluetooth, dropbox, email, evernote, etc. please correct me if i am doing something wrong.
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra("address", phoneNumber);
sendIntent.putExtra("sms_body", message);
Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDire开发者_C百科ctory().getPath()+"/tmp.jpg"));
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
sendIntent.setType("image/*");
startActivity(Intent.createChooser(sendIntent, "Send Image To:"));
Not all android phones are required to have the "Messaging" app.
精彩评论