[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 Da

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

2009-03-04 Thread Al Sutton
> > 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.co

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

2009-03-04 Thread David Turner
re 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 th

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

2009-03-04 Thread Al Sutton
> > > ----- Original Message - > > From: "Al Sutton" > > To: android-developers@googlegroups.com > <mailto:android-developers@googlegroups.com> > > Subject: [android-developers] Re: Set the

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

2009-03-04 Thread Al Sutton
time from the shell, and it's very 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 > Subj

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

2009-03-04 Thread David Turner
; > 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

[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. 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 it. > > Hope y

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

2009-03-04 Thread Giorgio M.
al 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 + Why would there be?, as I said before to allow it creates a security problem. Al. Giorgio M. wrote: &g

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

2009-03-04 Thread Al Sutton
t; > 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

[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:5

[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?