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
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