Smartphone-based localization for blind navigation in building-scale indoor environments