Also, have you tried the same classic steps as you would from a PC? Try hitting Google, Amazon or another common server that you know? Try using the direct IP address rather than relying on DNS? Also, try hitting the URL through the browser on your device?
Thanks a lot for your response. But below are my findings:-
I deployed Exercise 5 to Android emulator and as well as on my Android based Samsung mobile phone. Everything worked fine.
When I ran it with Phoney then it gave me 404 error code. I used 'TCPMon' to route my requests and it worked fine then. (I have no idea why this is happening?)