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

How to save the data from fitbit device in a local folder in the smartphone

ANSWERED

Hello, all

 

I made a simple application in which I can get timestamp and heartrate when I tapped the button and the data is sent to the smartphone using a message api.

 

I want to know how to save the data sent as message in my smartphone.

If it's not possible, is there any substitution to gather the data and to access the data later.

 

Any help would be appreciated. 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

This isn't easy to do. You need to use fetch() or websocket to send from companion to a server. You can make a server that runs on your phone.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
4 REPLIES 4

This isn't easy to do. You need to use fetch() or websocket to send from companion to a server. You can make a server that runs on your phone.

Peter McLennan
Gondwana Software
Best Answer

Thank you for your reply.

Making server seems to be difficult for me...

The aim is to keep the tiny data  so that I can refer to the data later.

Is there no substitution?

Best Answer
0 Votes

Not really. You could use console.log to display the data if you're debugging, then copy and paste, but... yuck.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thank you. I'll learn about server.

Best Answer