Execute setprop command from application

by Giorgio M. » Wed, 04 Mar 2009 02:01:04 GMT


Sponsored Links
 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


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Disable android Widget.

Hi Folks,

I want to disable my android widget on the fly using a broadcast receiver
listening to some intents.

How do i do that???
Kindly throw some light on this..
-- 
Regards,
Manjunatha

--~--~---------~--~----~------------~-------~--~----~

2. Problem in running the android sky widget

There have been previous threads about android.location.Geocoder not
entirely working in the SDK.  That app depends on responses from that
API, which is why it's not working.

The geocoder works on actual devices, otherwise you could hard-code
values when debugging.

j









-- 
Jeff Sharkey
jshar...@android.com

--~--~---------~--~----~------------~-------~--~----~

3. config for 2.6.29 kernel for HTC magic

4. logcat behavior

5. Can Any body give the suggestions for this...

6. Can Any body give the suggestions for this...

7. Android Camera IntentFilter from Manifest