How to make automatic 'send' on MMS activity?


Last Updated:

  1. naaman

    naaman New Member This Topic's Starter

    Joined:
    May 7, 2010
    Messages:
    1
    Likes Received:
    0
    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
     

    Advertisement

Share This Page

Loading...