Using SystemProperties.set("prop", val) in Java Layer
from "android.os.SystemProperties"
System.setProperty() is Proerty about java runtime in this process,
not equal to android property..
On 9月23日, 下午1時20分, "Mark Murphy" <[email protected]> wrote:
> > I use Java API "System.setProperty()" to set a system property. After
> > invoke "System.setProperty()", API "System.getProperty()" can return
> > the value just I set. However, when I use command "adb shell getprop"
> > to verify, it shows that this property is not set at all.
> > Do I wrongly understand API "System.setProperty()" ?
>
> This method will only affect your running process, just as it does with
> any other Java implementation.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---