*Receiving MMS*
So after doing more research I saw some suggestions of registering a ContentObserver. That way you can detect when there are any changes to the content://mms-sms/conversations Content Provider, consequently allowing you to detect incoming MMS. Here is the closest example to get this to work that I have found: Receiving MMS<http://www.anddev.org/other-coding-problems-f5/where-can-i-find-information-about-sending-receiving-mms-t51284.html> However, there is a variable mainActivity of type ServiceController. Where is theServiceController class implemented? Are there any other implementations of a registeredContentObserver? *Sending MMS* As for sending MMS, I have come across this example: Send MMS<http://www.ziddu.com/download/14286605/SendMMS3.zip.html> The problem is that I tried running this code on my Nexus 4, which is on Android v4.2.2, and I am receiving this error: java.lang.SecurityException: No permission to write APN settings: Neither user 10099 nor current process has android.permission.WRITE_APN_SETTINGS. The error gets thrown after querying the Carriers ContentProvider in the getMMSApns() method of the APNHelper class. final Cursor apnCursor = this.context.getContentResolver().query(Uri.withAppendedPath(Carriers.CONTENT_URI, "current"), null, null, null, null); Apparently you can't Read APNs in Android 4.2<http://stackoverflow.com/questions/13453640/read-apns-in-android-4-2> What is the alternative for all those applications which use mobile data to perform operations (like sending MMS) and don't know the default APN setting present in the device? -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

