Sending MMS programmatically on Android

I have a problem with the task that I have to do, I have to send MMS using our own interface on Android 2.1. since you can guess that the default call to Activity is out of the question. So, my question is, is there a way to programmatically send MMS using the android SDK without naming their intentions, I tried to import the MMS application into eclipse, but most of the classes are com.google.android which means they are not open sources, so I don’t I know how to get them, if possible, or how to imitate them. I even thought about using reflection to download them from Dalvik, but I think this is the final effort and may not bring results.

any ideas?

btw, i found

How to send an image via MMS on Android?

Sending MMS to different Android devices

but they do not work .. (without company classes)

+5
source share
2 answers

- , - , . MMS , . mms- android ( ) - . , MMS, , , , MMSManager, sdk. , , , .. ..:)

+1
 private void sendSMS(String phoneNumber, String message)
    {        
        PendingIntent pi = PendingIntent.getActivity(this, 0,
            new Intent(this, SMS.class), 0);                
        SmsManager sms = SmsManager.getDefault();
        sms.sendTextMessage(phoneNumber, null, message, pi, null);        
    }    
}

-6

All Articles