Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trigger Android stock MMS app to send out pending messages

Now that 3rd party apps cannot read APN information, it seems that there's no way to send MMS programmatically (unless you ask the user to manually enter APN info -AND- you have a working APN defined in the phone's settings), so the only option seems to be sending the MMS using the stock MMS app.

I've saved an MMS in the native MMS content provider (content://mms/outbox) and it successfully appears in the native app but is not being sent until I manually sent another MMS.

I'm looking for a broadcast, or any action that would trigger sending all messages in the outbox of the native MMS app.

like image 964
Lior Avatar asked Jul 08 '13 18:07

Lior


1 Answers

Looking at the sources of the stock mms.apk, there doesn't seems to be a broadcastReceiver to serve this purpose. You can check the sources here.

Also, these apps have or had actually problems with sending MMS on Jelly Bean. In Textra SMS app, I can say they use their own APN database, as we can change the APN settings inside the app in case MMS are not working.

like image 110
Matthieu Harlé Avatar answered Nov 05 '22 16:11

Matthieu Harlé