[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
It's not possible because it would create a security hole where applications could make users think they were going to www.mybankingsite.com whereas the DNS servers could be configured to send them anywhere. Al. Giorgio M. wrote: Anyone knows how i can set the DNS address from an activity?

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
Are there other ways to do it from an application? (e.g. executing a shell command) thanks - Original Message - From: Al Sutton To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 11:52:58 +

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 11:52:58 + It's not possible because it would create a security hole where applications could make users think they were going to www.mybankingsite.com whereas the DNS servers

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
- From: Al Sutton To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 13:36:45 + Why would there be?, as I said before to allow it creates a security problem. Al. Giorgio M. wrote: Are there other ways

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Cédric Berger
On Wed, Mar 4, 2009 at 14:50, Giorgio M. ledz...@writeme.com wrote: I use the android port on the freerunner and we have this problem. I have to set the DNS manually (setprop net.dns1 xxx.xxx.xxx.xxx) each time from the shell, and it's very annoying... I'm looking for a more easy way to do

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread David Turner
- Original Message - From: Al Sutton To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 11:52:58 + It's not possible because it would create a security hole where applications could make users think

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
annoying... I'm looking for a more easy way to do it. Hope you can help me. thanks - Original Message - From: Al Sutton To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 13:36:45 +

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
. executing a shell command) thanks - Original Message - From: Al Sutton To: android-developers@googlegroups.com mailto:android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread David Turner
- From: Al Sutton To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 13:36:45 + Why would there be?, as I said before to allow it creates a security problem. Al

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Al Sutton
To: android-developers@googlegroups.com mailto:android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 04 Mar 2009 13:36:45 + Why would there be?, as I said before to allow it creates

[android-developers] Re: Set the DNS from an activity

2009-03-04 Thread Giorgio M.
Ok i will try to put the DNS within the init.rc. Is there an exact position within the init.rc for the setprop command? - Original Message - From: David Turner To: android-developers@googlegroups.com Subject: [android-developers] Re: Set the DNS from an activity Date: Wed, 4