First I think this is the wrong group for such question
as this is out of scope of the normal android sdk.
Better would be android-platform for this.
Second : Did you check via getprop whether you property is
really set after the complete boot ?
Third : Maybe reading them via SystemProperties.get requires System as
sharedUserID
but I'm not sure. I used System when I need to deal with
System Properties.
Good luck !
Frank
On 3 Dez., 13:12, navs <[email protected]> wrote:
> Hi
>
> I want to want set a property in init.rc(source/Android/System/Core/
> rootdir/init.rc) and want that variable accessed from eveywhere in the
> FROYO source.
>
> Iam using
> setprop ro.MY_TEST 1001 -- in init.rc for setting value and using
> String value= SystemProperties.get("ro.MY_TEST"); to get the property
> value. But it is returning empty.
>
> Is their any other way to do so. Please help!
>
> Thanks & Regards
> Navs
--
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