Hello i am completely new in android location concept, i have created one map activity in android studio. this is the code.
 public void onMapReady(GoogleMap googleMap) {
        mMap = googleMap;
        mMap.setMyLocationEnabled(true);
        Location location = null;
        LatLng currentPosition = new LatLng(location.getLatitude(), location.getLongitude());
        mMap.addMarker(new MarkerOptions().position(currentPosition).title("Current Location"));
Is this is correct @Abhishek
 
     
    