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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to