Dianne,

Does this mean I can't use SystemProperties.set("prop", val); to
change system property from java application.
I'm trying to use the new property I created.  What's the catch here?

Thanks,
Mikhail.



On Sep 23, 1:59 pm, Dianne Hackborn <hack...@android.com> wrote:
> That is not a public API.
>
>
>
>
>
> On Tue, Sep 22, 2009 at 10:45 PM, Yuan-Fu <afuneoq...@gmail.com> 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" <mmur...@commonsware.com> 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
> hack...@android.com
>
> 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.- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to