[android-developers] Re: Getting UnknownHostException - Host is Unresolved

2009-04-16 Thread Vaibhav Gathibandhe
Hi, Any ideas here?? I would really appreciate if someone look into this. Thanks and Regards, Vaibhav Gathibandhe On Thu, Apr 16, 2009 at 12:56 AM, Vaibhav Gathibandhe < vaibhav.andr...@gmail.com> wrote: > Hi, > > Yes, that's true. Here is the code snippet: > > HttpHost host = new HttpHost("ht

[android-developers] Re: Getting UnknownHostException - Host is Unresolved

2009-04-15 Thread Vaibhav Gathibandhe
Hi, Yes, that's true. Here is the code snippet: HttpHost host = new HttpHost("http://10.0.2.2/Nrti/recommendation_saver";); HttpRequest request = new HttpPost(); . . Setting HttpParams here . request.setParams(params); HttpResponse response = client.execute(host, request); And as I mentioned, t

[android-developers] Re: Getting UnknownHostException - Host is Unresolved

2009-04-15 Thread Desu Vinod Kumar
Actually why these exception gets is if the I-net address .?method getbyname and getlocalhost are unable to resolve the host name then they throws an unknownhostexception On Thu, Apr 16, 2009 at 9:46 AM, Vaibhav Gathibandhe < vaibhav.andr...@gmail.com> wrote: > > Hi all, > > I am getting Unkno