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 - Error Running the map application in Android Emulator

Error Running the map application in Android Emulator

Tutorials that use the MapActivity. Many using GPS functionality.

Error Running the map application in Android Emulator

Postby aptgopal » Mon Dec 20, 2010 9:43 pm

Hi
I have created a map application in android but the map doesn't displayed in the emulator
It shows the error:error=9 Bad File Number

Please any one help me what is the error and how to run the application
I have attached my code
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. import com.google.android.maps.MapActivity;
  2. import android.os.Bundle;
  3.  
  4. public class MapApp extends MapActivity  {
  5.     /** Called when the activity is first created. */
  6.     @Override
  7.     public void onCreate(Bundle savedInstanceState) {
  8.         super.onCreate(savedInstanceState);
  9.         setContentView(R.layout.main);
  10.     }
  11.  
  12.     @Override
  13.     protected boolean isRouteDisplayed() {      
  14.         return false;
  15.     }
  16. }
Parsed in 0.014 seconds, using GeSHi 1.0.8.4


Thanks in advance
aptgopal
Developer
Developer
 
Posts: 25
Joined: Tue Nov 16, 2010 7:08 pm
Location: India

Top

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest