Adding Multiple Contacts to App
I need to add 140 contacts, accessible to customers who use the app. I have followed the "Using the contacts component" tutorial, but I'm not sure how to add the contact information so it shows up in the app.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I need to add 140 contacts, accessible to customers who use the app. I have followed the "Using the contacts component" tutorial, but I'm not sure how to add the contact information so it shows up in the app.
Hi Philip,
Please specify more details about what you mean by "Add contacts".
Do you want to add contacts to device or get contact from device and display it in your app?
Regards.
Thank you for your response. Let me clarify my question. I don't need the app to access the contacts on the device. I want users to access a set list of names and numbers. Basically, I want the app to have a "phone book" for doctors and nurses at a certain hospital. (So they can use the app to simply look up each others' phone numbers, pager numbers, email and so on)
I followed the tutorial here:
http://devcenter.appery.io/tutorials/...
but now I can't figure out how to add in all the names and phone numbers.
I hope that helps, thank you again!
Hello Philip,
Could you please also clarify do you want do you want to keep these contacts in some db?
I'm guessing a database would be the best way to keep all those contacts, especially since I will need to update the list of "people and phone numbers" once a year.
Would that be the best way, and how would I go about doing that? I'm learning as I go, so any help would be appreciated.
Philip,
Could you please detail what difficulties do you have when you are trying to work with db? Also please specify have you seen this tutorial?
http://devcenter.appery.io/tutorials/...
That worked perfectly. I was able to get the contacts to populate from the database, just like in the tutorial.
My next challenge is to have users click on the different pieces of information, Phone Number, Pager Number and email, and have it call or open and email to that particular address.
How would I go about this? All I've found are tutorials pulling the number from local storage and not from the database. Thank you again.
Hi Philip,
Please find more info on your questions here: http://blog.appery.io/2014/03/dialing...
Regards.
Thanks but that's to dial a specific number. I need to pull numbers from the database. I have 300 numbers and 150 email addresses and doing it this way, I would have to enter them all manually. Is there a way I can click to call from the database?
Hi Philip -
Save your phone numbers into a local Storage and pass the values from the storage to make calls, as explained in above link from Yuriy. This can all be done with JavaScript.