make distance calculations specific to Android model