Code example for LatLng

0
package com.manuelpeinado.addressfragment.demo; 
 
import android.location.Location; 
import android.os.Bundle; 
import android.support.v4.app.FragmentManager; 
import android.widget.Toast; 
 
import com.actionbarsherlock.app.SherlockFragmentActivity; 
import com.google.android.gms.maps.CameraUpdate; 
import com.google.android.gms.maps.CameraUpdateFactory; 
import com.google.android.gms.maps.GoogleMap; 
import com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener; 
import com.google.android.gms.maps.SupportMapFragment; 
import com.google.android.gms.maps.model.LatLng; 
import com.manuelpeinado.addressfragment.AddressFragment; 
import com.manuelpeinado.addressfragment.AddressView; 
 
public class StylingActivity extends SherlockFragmentActivity implements AddressView.LocationProvider, 
        OnMyLocationChangeListener {
 
    private static final int INITIAL_ZOOM_LEVEL = 16;
    private GoogleMap mMap;
    private AddressView mAddressView;
    private boolean mFirstCameraUpdate = true;
    private static boolean USE_MOCK_LOCATION_SOURCE = true;
 
    @Override 
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_map); 
 
        FragmentManager fm = getSupportFragmentManager();
        SupportMapFragment mapFragment = (SupportMapFragment) fm.findFragmentById(R.id.map);
        mMap = mapFragment.getMap();
        if (!ensureMapIsReady()) {