Android Question Anyone could help to translate FITBIT lib?

TheWind777

Active Member
Licensed User
Longtime User
I just got a FITBIT FORCE, it's cool, and I want to make a health app.
Could you please make the lib usable for B4A?
Here is the java lib and the documents:
https://wiki.fitbit.com/display/API/API Java Client

Thank you very much!

Yep... I also want to program Apps for the FitBit.

It would seem that the secret will be to integrate with a thing called the OAuth Authentication 1.0a Library

https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API

Until an equivalent is made to work with B4a, you won't be able to program an App for FitBit, it would seem.

Someone would have to be able to translate something from here, probably...

https://wiki.fitbit.com/display/API/API+Client+Libraries

Most likely would be: https://oauth.io/

Only authorize the user to FitBit instead of FaceBook, as their example shows.

If B4a could create a working OAuth, then the upcoming explosion of Apps designed for the FitBit would become possible. Needs to be done pretty fast, too... The market is open right now. In other half-year there will be thousands of Apps and no possibility of entering the fray.
 
Upvote 0

TheWind777

Active Member
Licensed User
Longtime User
I just got a FITBIT FORCE, it's cool, and I want to make a health app.
Could you please make the lib usable for B4A?
Here is the java lib and the documents:
https://wiki.fitbit.com/display/API/API Java Client

Thank you very much!

So, if you were to type OAuth into the search gadget, you might find the first step you'd take (my guess). There already is support for OAuth. So, my guess is that the first step would be to authorize your App using the OAuth libraries.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Search the forum for oauth libs. I think there are some
See here for details on the oauthflow.
The rest of their api then are simple httputils calls to their api-endpoint which then return json or xml
See here for ex. There is no library which someone needs to write for you. You can do it all by yourself with a bit research and using the forum search
 
Upvote 0
Top