Thanks Sayed for the sample code. But unfortunately even that didn't work.
The 'insert' i.e. the line:
========================================
getContentResolver().insert(*PREFERRED_CONTENT_URI*, values);
========================================
always returns null.
I'm using 2.3.3. Looks like there is something missing.
> Note that, as of Android 4.0, this is no longer possible.
We can at least change the individual APN values, right.
i.e. use the following line of code:
========================================
getContentResolver().update(Uri.*parse("content://telephony/carriers"**),
values, blah, blah, blah);
*========================================
Otherwise APNDroid won't work.
Thanks
On Tue, Jan 24, 2012 at 12:17 AM, Tom <[email protected]> wrote:
> Note that, as of Android 4.0, this is no longer possible.
>
> The permission still exists, but any attempt to write the APN will fail.
>
> Presumably the carriers put pressure on Google to block this capability...
> too bad.
>
> --
> 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 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