We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question 开发者_开发知识库I am writting an application that will send MMS messages from an android phone and I am trying to follow the instructions on this post:
How to send image via MMS in Android?
My problem now is I can't find the libraries used there, like com.google.android.mms.*
Can anyone point me to that?
Is there any MMS library I can plug in my project? It is kinda weird that google does not provide that for the developers...
Thanks,
Joao Paulo Farias
you can get it this way
Class pduparserclass = Class.forName("com.google.android.mms.<the class>");
since the class is present on the device but not in the sdk. this will not work on the emulator
One way is to download the jar, and have it added to your build path. You can download at http://www.java2s.com/Code/Jar/a/Downloadandroidsrcjar.htm
com.google.android.mms is an internal package in Android's source code. It is not intended to be used by other apps.
The link you posted already contains code on how to send an MMS using the proper API in aioobe's answer (who in turn linked to another answer that had it).
精彩评论