public void onStatusChanged(Object source, STATUS status) { if (OnStatusChangedListener.STATUS.INITIALIZED == status && source == mMapView) { ArcGISDynamicMapServiceLayer layer = (ArcGISDynamicMapServiceLayer) mMapView.getLayer(0); MapServiceInfo mapServiceInfo = layer.getMapServiceInfo(); TimeInfo timeInfo = mapServiceInfo.getTimeInfo(); if (timeInfo != null) { timeExtent = timeInfo.getTimeExtent(); interval = timeInfo.getTimeInterval(); units = timeInfo.getTimeIntervalUnits(); timeReference = timeInfo.getTimeReference(); } } } };