03-10-2021 16:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-10-2021 16:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Answered! Go to the Best Answer.

Accepted Solutions
03-10-2021 16:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-10-2021 16:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
03-10-2021 16:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-10-2021 16:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
03-10-2021 18:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-10-2021 18:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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?

03-10-2021 18:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-10-2021 18:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Not really. You could use console.log to display the data if you're debugging, then copy and paste, but... yuck.
Gondwana Software

03-10-2021 18:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-10-2021 18:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Thank you. I'll learn about server.
