I've got a sloution!!!!!
Here is a code!!!
package com.android.app.testmapactivity;
import android.os.Bundle;
import android.view.Window;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
public class TestMapActivity extends MapActivity {
private static MapView mMapView;
private GeoPoint mDefPoint;
@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
@Override
protected void onCreate(Bundle icicle) {
// TODO Auto-generated method stub
super.onCreate(icicle);
requestWindowFeature(Window.FEATURE_NO_TITLE);
//mMapView = (MapView)findViewById(R.id.basic_map);
mMapView = new MapView(this,"myapiKey");
mDefPoint = new GeoPoint(37504824,127016373);
// The Country ClubPlaza (random loc)
mMapView.getController().setZoom(12);
mMapView.getController().setCenter(mDefPoint);
setContentView(mMapView);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---