I've been creating an android app and I want it to directly communicate to the Fitbit companion app. I see that there is a WebSocket API, but i want something more direct. Is there a way for the companion app to receive data from an android app in its cache or internal storage directly? Thanks.
Sincerely,
Will
Answered! Go to the Best Answer.
Best AnswerSorry,
No. The companion app is sandboxed. The most direct way is to use the websocket. However, you can make the websocket localhost. That is the most direct. I ended up using NanoHTTPD to run a local server.
Best Answer