title: update current location on mapview but locatinListenor is in service
body: <p>i have mapActivity where i register my MapView widget and i m running service that checks location data  in background. i m starting my service in mapactivity through BroadcastReceiver like this </p>
  
  <pre><code>  public class MainActivity extends MapActivity {
  
      private MapView view;
  
     protected void onCreate(Bundle savedInstanceState) {
  
          view = (MapView) findViewById(R.id.themap);
      view.setBuiltInZoomControls(true);
  
      Intent in = new Intent();
      MyReceiver locationRecvr = new MyReceiver();
      locationRecvr.onReceive(getApplicationContext(), in);
  
    }
   ......................
  
   }
  </code></pre>
  
  <p><strong>myReveiver.java</strong></p>
  
  <pre><code> public class MyReceiver extends BroadcastReceiver {
    @Override
     public void onReceive(Context context, Intent intent) {
         Toast.makeText(context, "MyReceiver Started..",Toast.LENGTH_SHORT).show();
         Log.v("Debug", "MyReceiver Started..");
         Intent myIntent=new Intent(context, ServiceLocation.class);        
         context.startService(myIntent);
  }
   }
  </code></pre>
  
  <p>and myservice and LocationListener like this</p>
  
  <pre><code>  public class ServiceLocation extends Service implements LocationListener {
         ......
         ..... 
         .... 
    }
  </code></pre>
  
  <p>my question is when location is changed how can i change that location on mapview how can i get mapview reference in onLocationchanged() methods or how can i send latitude and longitude to mapActivity. </p>
  
  <p>Thanks in advance</p>