05-08-2018 05:02
05-08-2018 05:02
I'm not sure if this is possible but figured I'd ask. I'm creating an app for scuba divers. Many times when a diver signs up for a dive, he must have his certification number (C-Card) and could have multiple C-Cards. What I'd like to do is have my app display a list of C-Card information. For example, each record would contain three fields:
Name
Agency
Number
I would then display this information in a Scrollview. Is it possible to have a user enter this information using the companion? I was thinking about using Settings but I think that is limited. Or, is there any way to enter this info?
Answered! Go to the Best Answer.
05-08-2018 12:10
05-08-2018 12:10
Dan - If I understand you correctly, what you will need to do is use the settings/companion to hold and transmit the data.
I have done this using textInputs in Settings and saving that data to a JSON file which is transmitted via the companion. Then the app/index.js file has to pick the data from the JSON file to display it in the scrollview.
05-08-2018 12:10
05-08-2018 12:10
Dan - If I understand you correctly, what you will need to do is use the settings/companion to hold and transmit the data.
I have done this using textInputs in Settings and saving that data to a JSON file which is transmitted via the companion. Then the app/index.js file has to pick the data from the JSON file to display it in the scrollview.
05-12-2018 08:52 - edited 05-12-2018 09:37
05-12-2018 08:52 - edited 05-12-2018 09:37
You could also store the file that was sent via the settings on the device and then load the saved file if having the phone always connected is a problem : https://github.com/KiezelPay/fitbit-file-transfer-settings