When i run my application for sometime, suddenly the network is getting disconnected and i am getting the unknownhostexception in my application. In that case if i check the browser, the same exception occurs.I 开发者_运维知识库don't know why internet is getting disconnected suddenly. It works fine only if i re start the emulator again. If any one knows and provides the solution, it will be very much helpful for everyone.
See the below link: http://hubpages.com/hub/Tips-to-solve-the-UnknownHostException-on-Android
Delete the old emulator and create a new one. This will help
精彩评论