Gait sensing on smartphones to support mobile exercise applications and games