10-14-2017 14:11 - edited 10-14-2017 14:13
10-14-2017 14:11 - edited 10-14-2017 14:13
Should we have a way of Ionic screen capture?
Otherwise app description preparing will be a tough job.
Answered! Go to the Best Answer.
10-14-2017 14:44
10-14-2017 14:44
10-14-2017 14:44
10-14-2017 14:44
11-03-2018 16:50
11-03-2018 16:50
Has this been implemented yet?
11-03-2018 16:53
11-03-2018 16:53
Yes. You can do this in Fitbit Studio or CLI.
11-03-2018 16:56
11-03-2018 16:56
Oh, I was hoping for there to be a screen capture function in js, and then be able to import that to the companion for logging of workouts. I know how to do this in Fitbit Studio.
Thanks
11-03-2018 17:19
11-03-2018 17:19
That probably wouldn't help you, because your app can't run while any other app is running (ie, there is no such thing as background execution of user apps). You could only capture the screen of your own app.
11-03-2018 18:36
11-03-2018 18:36
That's exactly what I'm hoping for. I'm writing my own stat logging application for when I work out. I wanted that application to screenshot my Versa when I click finished, and then be able to send that screen shot to companion.
11-03-2018 19:00
11-03-2018 19:00
As far as third-party developers are concerned, Fitbits don't have a screen buffer (as an arbitrary array of pixels). I think you'll need to send the raw exercise data to the companion and have it compile an image. However, I don't know what you'll be able to do with such an image, other than use fetch() to send it to a web server.
Another problem you may face is that third-party activity apps can't get access to the best quality HR data (they're limited to a lower sampling rate). In addition, you'd have to send the exercise stats via a companion app into the Web API if you want the sessions to appear in the dashboard.
If these are concerns, vote for this!