This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Android and the fly likes cannot connect to the internet through yamba app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "cannot connect to the internet through yamba app" Watch "cannot connect to the internet through yamba app" New topic
Author

cannot connect to the internet through yamba app

sadanand adhikari
Greenhorn

Joined: Apr 17, 2012
Posts: 1
Hello everyone,

I am facing a peculiar issue when connecting to the internet through the emulator. I am using r19 development tools and emulator as 2.2. I am working on the yamba app from learning android book. This app connects to the internet for the website yamba.marakana.com. The problem is , through the emulator i am able to to connect to the internet and visit websites such as google and the site mentioned above. However through my application, it gives me a UnknownHostException saying host is unresolved at yamba.marakana.com/api:80.

I have added the permissions for Internet in manifest as well. Attached is the manifest file. Let me know if anything additional is required to be done.




Thanks in advance

ps : brought to my notice about cross posting. Hence, I have already asked this on stack overflow and my awaiting a reply.
ps : any other etiquette i should know about ?
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hello Sadanand and welcome to the Ranch!
Would you please BeForthrightWhenCrossPostingToOtherSites ?
Thank you.
 
Consider Paul's rocket mass heater.
 
subject: cannot connect to the internet through yamba app
 
Similar Threads
Unable to obtain bluetooth adapter
My Custom Intents do not work
How to pass POJOs / data / values between activities?
How to Start New Activity
how to transfer images to ftp server in android