Code example for LatLng

0
package com.manuelpeinado.addressfragment.demo; 
 
import android.location.Address; 
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.actionbarsherlock.view.Menu; 
import com.actionbarsherlock.view.MenuInflater; 
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.OnMapClickListener; 
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.google.android.gms.maps.model.Marker; 
import com.google.android.gms.maps.model.MarkerOptions; 
import com.manuelpeinado.addressfragment.AddressView; 
import com.manuelpeinado.addressfragment.AddressView.LocationProvider; 
import com.manuelpeinado.addressfragment.AddressView.OnMyLocationClickIgnoredListener; 
import com.manuelpeinado.addressfragment.AddressView.OnNewAddressListener; 
 
public class ActionBarActivity extends SherlockFragmentActivity implements OnMyLocationChangeListener,
        OnMapClickListener, LocationProvider, OnNewAddressListener, OnMyLocationClickIgnoredListener {
 
    private AddressView mAddressView;
    private GoogleMap mMap;
    private boolean mFirstFixReceived;
    private Marker mMarker;
 
    @Override 
    protected void onCreate(Bundle savedInstanceState) {