Hi all,
I have a .json file on a server.
And I had simple app(phonegap) built which I uploaded into build.phonegap. So my question is will my app be able to pull data from .json file which is on a server?

Regards
layman114

Recommended Answers

All 2 Replies

As with any code you will need to first provide some http client to be able to setup connection and query server and then you will need to process returned result. Sorry I can't be more specific but I do not use phonegap. Search for phonegap json examples and you may run across examples like this

As long as the app requests the .json file using an absolute URL (not relative which you might have used prior to packaging with phonegap) and network connectivity to that URL is ok, then there should be no problem. You need to confirm that it uses an absolute URI and that there are no SSL verification errors if using SSL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.