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
[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 - On Emulator no internet connection

On Emulator no internet connection

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

On Emulator no internet connection

Postby amatorIP » Thu Feb 02, 2012 11:00 am

Hi All!
I have problem with internet connection in my app on emulator.
I have added permission in AndroidManifest.xml and internet connection present on emulator.
I using code
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. try{
  2. HttpClient client = new DefaultHttpClient();
  3. HttpGet request = new HttpGet(url);
  4. HttpResponse response = client.execute(request);
  5. } catch (Exception e){
  6. Log.e(TAG, "No connection!");
  7. }
  8.  
Parsed in 0.010 seconds, using GeSHi 1.0.8.4

I don't understand reasons of absent connection(
amatorIP
Junior Developer
Junior Developer
 
Posts: 10
Joined: Mon Jan 30, 2012 9:32 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 8 guests