>
> 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 unde
Thanks!
Is there any other java API which can change system property?
On Sep 23, 1:20 pm, "Mark Murphy" 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, wh
> Is there any other java API which can change system property?
Not that I am aware of.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because
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" wrote:
> > I use Java API "System.setProperty()" to set a system proper
That is not a public API.
On Tue, Sep 22, 2009 at 10:45 PM, Yuan-Fu 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日, 下午
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 wrote:
> That is not a public API.
>
>
>
>
>
> On
Correct, this is not a public API. Please do not use it. System properties
are not for applications to use.
On Thu, Oct 22, 2009 at 7:30 AM, Mikhail G wrote:
>
> Dianne,
>
> Does this mean I can't use SystemProperties.set("prop", val); to
> change system property from java application.
> I'm tr
7 matches
Mail list logo