Could you explain what is a platform certificate ?
Is this mean that from this new android version there will be no more
possibility to develop a tool app to control legitimate
settings such as wireless on/off ?

Thanks,
Yeri

On Mar 17, 8:54 pm, Dianne Hackborn <hack...@android.com> wrote:
> That's right, unless you are signed with the platform certificate, you can't
> write there.  That is why they are secure. ;)
>
>
>
> On Tue, Mar 17, 2009 at 2:46 AM, nighteagle <a22...@motorola.com> wrote:
>
> > I have a problem while writing
> > android.provider.Settings.Secure.ENABLED_INPUT_METHODS in my
> > application. It will throw a security exception:
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):
> > java.lang.SecurityException: Cannot write secure settings table
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.os.Parcel.readException(Parcel.java:1234)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.database.DatabaseUtils.readExceptionFromParcel
> > (DatabaseUtils.java:144)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.database.DatabaseUtils.readExceptionFromParcel
> > (DatabaseUtils.java:110)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.content.ContentProviderProxy.insert
> > (ContentProviderNative.java:
> > 320)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.content.ContentResolver.insert(ContentResolver.java:336)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.provider.Settings$NameValueTable.putString(Settings.java:409)
> > 03-17 17:43:15.717: ERROR/AndroidRuntime(6950):     at
> > android.provider.Settings$Secure.putString(Settings.java:1520)
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to