if (cursor.getLong(cursor.getColumnIndex(PlaceDetailsContentProvider.KEY_LAST_UPDATE_TIME)) > System.currentTimeMillis()-PlacesConstants.MAX_DETAILS_UPDATE_LATENCY)
doUpdate = false;
}
}
finally {
cursor.close();
}
}
// Hit the server for an update / refresh.
if (doUpdate) {
refreshPlaceDetails(reference, forceCache);
}
}
/**
* Request details for this place from the underlying web Service.
* TODO Replace the URL and XML parsing with whatever is necessary for your service.