• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to make automatic 'send' on MMS activity?

naaman

Lurker
Hello,
I'm trying to make auto MMS sending activity.
I'm using the following code:

Java:
Intent sendIntent = new Intent(Intent.ACTION_SEND,
Uri.parse("mms://"));
sendIntent.setType("image/jpeg");
String url = "file://sdcard//tmpPhoto.jpg";
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
startActivity(Intent.createChooser(sendIntent, "MMS:"));



It's activating the phone's mms activity, which waits for clicking the 'send' button.

How can I programmatic 'press' this button (with no help from the user)?

Thanks
 
Back
Top Bottom