Trying to display simple map in my emulator/real device.
I have also get the key from google, put the google service library in my workspace etc..
here is the code:
public class MainActivity extends MapActivity {
private MapView mapView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mapView = (MapView) findViewById(R.id.map_view);
mapView.setBuiltInZoomControls(true);
}
@Override
protected boolean isRouteDisplayed() {
return false;
}
}
The above output I am getting..I dont know what I am missing..Any help is appriciate
Thanks.
0 comments:
Post a Comment