Android Question ‏Receiving Data Google Fit

mahdi720

New Member
hello. How should I get access to the program from within my program if the Google Fit program was installed?
the amount of exercise, so on,.or other similar plans
 

Peter Simpson

Expert
Licensed User
Longtime User
@mahdi720 look at the following link...

 
Upvote 0

mahdi720

New Member
Thank you for your response.
But this library is doing the exchange of information between the two device. I want to get information from the program installed on the phone.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I want to get information from the program installed on the phone.
You need to use a fitbit devloper clientid to request data which are saved on fitbit. Even the app syncs with the web.
The Fitbit app does not provide a direct api. At least i don´t know any.

You get the client id by registering an App on fitbit server and then use their OAuth2 login mechanism to access the Api.

Make sure to replace the clientID

This is only a testproject of mine playing around with this Api. This example i wrote in 2018 for myself
 

Attachments

  • FitBitEx.zip
    12 KB · Views: 177
Upvote 0
Top