Thanks Makas, yes, I am customizing the Android platform, I'll also redirect it to android-platform mail-list.
However, I think my problem is also related to android permission rule that developer may encounter. because not only the property I create can not be set, but also the traditional system property like debug.egl.hw can not be set via SystemProperties.set(). BTW, I met this problem on android donut. Thanks - superrookie On Fri, Mar 12, 2010 at 6:16 AM, Makas Tzavellas <[email protected]>wrote: > SystemProperties is not a publicly available class. Are you > customizing the Android platform? If you are then you are probably > better off asking in the android-platform group. Otherwise that > basically means you cannot set the property as you are not even > suppose to have access to the class via the public api. > > On Mar 11, 2:48 pm, superrookie <[email protected]> wrote: > > Hi All, > > > > I have a system property named "my.sys.property", and able to get its > > value by SystemProperties.get(), > > but when I set it using SystemProperties.set("my.sys.property", > > "value"), i got error saying that > > > > > init: sys_prop: permission denied uid:10003 name:my.sys.property > > > > I've search same problem and try to make some effort to overcome it, > > including: > > 1. modify android:sharedUserId="android.uid.xxxx" in > > AndroidManifest.xml > > 2. add some write-related uses-permission in AndroidManifest.xml > > 3. add property_perms in system/core/init/property_service.c because i > > find error comes from there > > > > but the problem still occur: ( > > Does anybody here have idea about how to fix this problem? > > > > Thanks > > - superrookie > > -- > 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]<android-developers%[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

