Read APNs in Android 4.2?
This appears to be an intentional change. The git commit where they added this defense includes the following comment:
Since the DB may contain corp passwords, we should secure it. Using the same permission as writing to the DB as the read is potentially as damaging as a write.
It is conceivable that your issue will cause them to consider adding a separate read permission, but at least for the time being, this is a regression in 4.2.
Android 4.1 How to read APN Details
Send your MMS via the Intent
.
For security reasons, you cannot read APN details without WRITE_APN_SETTINGS
, and that permission requires your app to be signed by the same signing key that signed the firmware or for your app to be installed on the system partition (e.g., by a rooted device user).
Related Topics
Javadoc in Eclipse Failing to Recognize Packages
Android Webview - Intercept Clicks
List View Items Changes Position When Scrolling Android
Image Size for All Screen Devices
How Can Write Code to Make Sharedpreferences for Array in Android
How to Show and Hide Actionbar with Appcompat V.7
Applying Colorfilter to Imageview with Shapeddrawable
Using Adb Logcat with a Real Phone (And Not the Emulator)
Why Getspeed() Always Return 0 on Android
How to Setlayoutparams() for an Imageview
How to Reference an Asset in a Library Project
How to Check If "Android.Permission.Package_Usage_Stats" Permission Is Given
Android Studio Getslotfrombufferlocked: Unknown Buffer Error
How to Filter Listview Data When Typing on Edittext in Android
How to Get Profile Like Gender from Google Signin in Android
Android: Failed to Allocate Memory
How to Save Image in Shared Preference in Android | Shared Preference Issue in Android with Image
Adb Remount Permission Denied, But Able to Access Super User in Shell -- Android