Your AP don't have root permission to do it.
Try using a booting exist "excutable" to do it.


On Mar 3, 9:42 pm, "Giorgio M." <[email protected]> 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 atwww.mail.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to