That is not a public API.
On Tue, Sep 22, 2009 at 10:45 PM, Yuan-Fu <[email protected]> wrote:
>
> 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
>
> >
>
--
Dianne Hackborn
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. 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 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
-~----------~----~----~----~------~----~------~--~---