How to get my current location android maps

view story

http://stackoverflow.com – Here is my .JAVA import com.google.android.gms.maps.*; import com.google.android.gms.maps.model.*; import android.app.Activity; import android.os.Bundle; public class GoogleMap extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.googlemap); // Get a handle to the Map Fragment GoogleMap map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); LatLng sydney = new LatLng(-33.867, 151.206); map.setMyLocationEnabled(true); (HowTos)