OSMDROID: Get current coordinates in real-time using osmdroid map
<p>Sorry for being newbie. I just want to create an app that will get current location thru gps, whether location is change or not. </p>

<p>I can manage to get the location</p>

<p>onCreate code:</p>

<pre><code>    map = (MapView) findViewById(R.id.map);
    map.setTileSource(TileSourceFactory.MAPNIK);
    map.setBuiltInZoomControls(true);
    map.setMultiTouchControls(true);


    myLocationOverlay = new MyLocationNewOverlay(getApplicationContext(), map);
    map.getOverlays().add(myLocationOverlay);
    myLocationOverlay.enableMyLocation();
    myLocationOverlay.enableFollowLocation();
</code></pre>

<p>but cannot implement to get real-time coordinates implemented on onLocationChanged. It will be much appreciated to have a whole source code that will show the solution. I get easily lost in part by part code.</p>

<p>Thank you in advance.</p>