how can i stop the locationoverlay.runonfirstfix when pass 30 seconds?
I think with a handler but how can implement that on this?
miPunto.runOnFirstFix(new Runnable()
{
@Override
public void run()
{
if (miPunto.getMyLocation() != null)
{
latitud = miPunto.getMyLocation().getLatitudeE6();
longitud = miPunto.getMyLocation().getLongitudeE6();
gmiPunto = new GeoPoint((int) (latitud), (int) (longitud));
controladorMapa.animateTo(gmiPunto);
controladorMapa.setZoom(17);
controladorMapa.setCenter(gmiPunto);
dialogo.dismiss();
}
}
});