Here’s how to use your phone to reach your fitness goals.