Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

connecting to user created 3rd party app

ANSWERED

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 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Sorry,

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.

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Sorry,

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
0 Votes

I see. I was hoping that there was a direct offline way to communicate. Thanks for your input.

Best Answer
0 Votes