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.
@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.
Best AnswerIf 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.
Best AnswerI 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.
@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.
Best AnswerI 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.
Best Answer