You can try SystemProperties.set().

2009/3/4 Dianne Hackborn <hack...@android.com>

> Sorry, you can't.
>
> On Tue, Mar 3, 2009 at 5:42 AM, Giorgio M. <ledz...@writeme.com> wrote:
>
>> I have to execute the shell command
>>
>> setprop net.dns1 xxx.xxx.xxx.xxx
>>
>> from an android activity but i can't find a working way to do it.
>>
>> How can i execute this command from the application?
>>
>> thanks
>>
>> -- Be Yourself @ mail.com!
>> Choose From 200+ Email Addresses
>> Get a *Free* Account at www.mail.com <http://www.mail.com/Product.aspx>!
>>
>>
>>
>
>
> --
> 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.  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 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