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
Using java Syntax Highlighting
- import com.google.android.maps.MapActivity;
- import android.os.Bundle;
- public class MapApp extends MapActivity {
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- }
- @Override
- protected boolean isRouteDisplayed() {
- return false;
- }
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Thanks in advance

