java.lang.SecurityException: No permission to write APN settings: Neither user 10099 nor current process has android.permission.WRITE_APN_SETTINGS.
What is the reason for getting this error when compiling the code of sending MMS? Why can't I read APNs in Android 4.0 and up?