Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add user data to application?

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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. 

View best answer in original post

Best Answer
2 REPLIES 2

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. 

Best Answer

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

Best Answer