If you really need to you can use InetAddress but most of the network
apis will accept a host name and do the dns lookup for you

On Apr 29, 9:13 pm, Breno <breno.min...@gmail.com> wrote:
>   Hi,
>
>              Is there any API to use dns lookup in android? my app
> connect to a server, and to final user, we don't want that user need
> to enter the ip, but a hostname. I found dnsjava, a lib to handle
> that, but if Android would have this, it becomes better.
>
> Thanks a lot
>
> Breno
--~--~---------~--~----~------------~-------~--~----~
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