This App allows a user to create an activity on FitBit by entering only the number of steps taken each day.

I use a garmin watch to count my steps, but the rest of my my family using Fitbit. I want to participate in my family's step leaderboard, so therefore I need a way to get my step counts into fitbit without the use of a fitbit device.

Fortunately, steps logged in fitbit's activity API count toward the step total in fitbit. I had been using the fitbit.com web interface to log these activities (the android interface does not allow for step data entry). To create an entry on fitbit's web interface, you must enter an activity type of running or walking, a start time, a total time, and distance in steps.

This app log the start time as 12:00 AM, and the total time as 12:00:00 I feel this makese sense because our purpose is to capture our daily steps, and steps could be taken at anytime of the day,excluding some time for rest and sleep.

:

Source Code for this App is available on github with linke below

Link To Github Project

This app uses OAuth 2.0 Authorization Grant Flow to Authenticate to fitbit.

(1) Step 1 - request is made to an authorization URL - after the user logs in to fitbit, they are redirected back to this App

(2) Step 2 - This App makes a request using the Authorization Code to get an access token.

(3) Step 3 - The Access Toekn is used to make requests to read and write data using the allowed scopes.

Get Daily Activities

Development Buttons - used for debugging