SMaRTCaR: An integrated smartphone-based platform to support traffic management applications