I'm attempting to send MMS implementing the method outlined here: How to send image via MMS in Android?
To do so, I imported com.android.mms to my Eclipse project (among other imports); however I cannot overcome one issue. In class MmsConfig:
private static void loadMmsSettings(Context context) {
XmlResourceParser parser = context.getResources().getXml(R.xml.mms_config);
R.xml.mms_config is unresolved. From where do I locate/obtain this resource? Thanks!
I imported com.android.mms to my Eclipse project (among other imports)
Note that firmware apps are not designed to be built independently of the firmware.
From where do I locate/obtain this resource?
From the same place you got the source code. In Android, this is a XML resource, found in the project's res/xml/
directory. Hence, if you go to the project where you took the code, and you look in res/xml/
, you will find the `mms_config.xml file.