1

Can I test the MMS code with two emulators? Is any service providers needed for enabling MMS?

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra("address", 5556);
sendIntent.putExtra("sms_body", "Hi");
Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory().getPath()+"/img.png"));
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
sendIntent.setType("image/*");
startActivity(Intent.createChooser(sendIntent, "Send Image To:"));
p.campbell
  • 95,348
  • 63
  • 249
  • 319
info
  • 2,102
  • 5
  • 22
  • 38

2 Answers2

5

According to the Android SDK Release Notes:

It is not possible to send MMS messages between emulator instances.

Qantas 94 Heavy
  • 15,410
  • 31
  • 63
  • 82
Rajath
  • 11,544
  • 7
  • 44
  • 60
0

You should use ACTION_SENDTO or check this: Sending MMS into different Android devices.

Community
  • 1
  • 1
Karan
  • 12,594
  • 6
  • 38
  • 33