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:"));
According to the Android SDK Release Notes:
It is not possible to send MMS messages between emulator instances.