I'd like to update a map, after receiving the coordinates through a broadcast receiver.
So I send me a sms, the receiver got it, and put a marker on the map.
The problem is that the activity is not shown on screen : I've to switch manually to see it. The sms windows remains on the top. Any Idea ?

Besides, the marker isn't centered in the map...

Here is the code :

```
public class MainActivity extends Activity
{
    private GoogleMap mMap;
    private ArrayList<MyMarker> mMyMarkersArray = new ArrayList<MyMarker>();
    private HashMap<Marker, MyMarker> mMarkersHashMap;
    private  BroadcastReceiver updateReceiver =  new BroadcastReceiver() {

        @Override
        public void onReceive(Context context, Intent intent) 
        {

            Log.e("DEBUG", "private broadcast" );
            Double longitude = intent.getDoubleExtra("long",0);
            Double latitude = intent.getDoubleExtra("lat",0);
            Log.e("DEBUG", "gotsms : " + longitude + " et " + latitude );

            mMarkersHashMap = new HashMap<Marker, MyMarker>();
            mMyMarkersArray.add(new MyMarker("I'm here", "icon1", latitude, longitude));

            LatLng latLng = new LatLng(latitude, longitude);
            updateMap(intent, latLng);     
        }
    };

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        IntentFilter filter = new IntentFilter();
        filter.addAction(UPDATE_MAP);     
        registerReceiver(updateReceiver, filter);

        setUpMap();
    }

    protected void updateMap(Intent intent, LatLng latLng) {

        plotMarkers(mMyMarkersArray);

        CameraUpdate center=CameraUpdateFactory.newLatLng(latLng);
        CameraUpdate zoom=CameraUpdateFactory.zoomTo(12);
        mMap.moveCamera(center);
        mMap.animateCamera(zoom);

    }

```