PDA

View Full Version : sending parameter to json file



tubilik
27 Jul 2011, 2:52 AM
Hi, I have a problem about reading the json file. I am trying to implement a phonebook. You write the name of the person in the textfield and seach it in phonebook. I have a json file that stores the information about people. I couldnt retrieve the specific information about the person. How can I send the textfield parameter to json file?

Hanni Sullivan
27 Jul 2011, 4:07 AM
One can not send parameters to files. But it is possible to send parameters to a web service which returns JSON-formatted data.

phil.fuse
27 Jul 2011, 4:16 AM
yep - hanni is correct...
you'll probably need some server side component / service and a database to be storing this in.
what you trying to implement?
if its just a users phone directory you could use local storage instead i suppose and then you wouldn't need to make any json calls.

tubilik
27 Jul 2011, 4:19 AM
Thanks for your replies. I am trying to do a mobil application of a company website so I should take the contact files from their server I guess.