12-16-2017 15:16 - edited 12-17-2017 03:17
12-16-2017 15:16 - edited 12-17-2017 03:17
Is there a way to reference data from another application inside of a custom app ? I want to possibly use another apps data to display into clock face.
I.e. built in Fitbit app like weather or alarms ?
Answered! Go to the Best Answer.
12-18-2017 07:52
12-18-2017 07:52
@bhwolf wrote:It would be great to have even a read only API for alarms, kind of silly to have to go into the alarms app to see if any are set.
I think you can read and write to the alarms via the Fitbit Web API.
12-17-2017 10:33
12-17-2017 10:33
It would be great to have even a read only API for alarms, kind of silly to have to go into the alarms app to see if any are set.
12-17-2017 11:56
12-17-2017 11:56
If both of the apps are yours, you could do it by shuffling info via a web-based API. But it would be a pain, and reliant on companion and internet access. You'd also have to be careful with security.
12-18-2017 06:05
12-18-2017 06:05
I guess I should be more specific:
Let's say I wanted to display the weather on my clock face ... seems I should be able to just reference the data already stored and synced in the weather app instead of building a companion function and pull it via API or some other method. Even if it is some kind of 'internal' API call that would suffice.
12-18-2017 07:52
12-18-2017 07:52
@bhwolf wrote:It would be great to have even a read only API for alarms, kind of silly to have to go into the alarms app to see if any are set.
I think you can read and write to the alarms via the Fitbit Web API.
12-18-2017 11:38
12-18-2017 11:38
I thought that was what you meant. I'm pretty sure that each app on the device is totally isolated and the OS doesn't provide an API for direct inter-app messaging.