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 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 +0000



  Why would there be?, as I said before to allow it creates a security
  problem.

  Al.

  Giorgio M. wrote:
  > 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 +0000
  >
  >
  >
  > 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?
  > >
  > > thanks
  > >
  > > -- Be Yourself @ mail.com!
  > > Choose From 200+ Email Addresses
  > > Get a *Free* Account at www.mail.com !
  > >
  > > >
  >
  >
  > --
  >
  > * Written an Android App? - List it at http://andappstore.com/ *
  >
  > ======
  > Funky Android Limited is registered in England & Wales with the
  > company number 6741909. The registered head office is Kemp House,
  > 152-160 City Road, London, EC1V 2NX, UK.
  >
  > The views expressed in this email are those of the author and not
  > necessarily those of Funky Android Limited, it's associates, or
  it's
  > subsidiaries.
  >
  >
  >
  > -- Be Yourself @ mail.com!
  > Choose From 200+ Email Addresses
  > Get a *Free* Account at www.mail.com !
  >
  > >


  --

  * Written an Android App? - List it at http://andappstore.com/ *

  ======
  Funky Android Limited is registered in England & Wales with the
  company number 6741909. The registered head office is Kemp House,
  152-160 City Road, London, EC1V 2NX, UK.

  The views expressed in this email are those of the author and not
  necessarily those of Funky Android Limited, it's associates, or it's
  subsidiaries.


  
-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.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 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