Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Unable to connect to my PC's localhost - UnkownHostException

Unable to connect to my PC's localhost - UnkownHostException

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Unable to connect to my PC's localhost - UnkownHostException

Postby vabii » Thu Apr 16, 2009 6:08 am

Hi all,

I am getting UnknownHostException - host is unresolved - in my app when trying to connect the emulator to server on my laptop(running on localhost).

The URL I am using is:

HttpHost host = new HttpHost("http://10.0.2.2/Nrti/recommendation_saver");

I have android.permission.INTERNET permission set in my AndroidMenifest.xml. Moreover, with this URL, I am able to connect to my machine's server when I use the browser on the emulator.

Has anyone faced and solved such problem. If yes, I would really like to know the solution.

Thanks in advance.

Regards,
Vaibhav Gathibandhe
vabii
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Apr 16, 2009 5:46 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest