tableview data remote update - been trying for days now...
I'm looking for a working example of a tableview whereby the rows are populated from a remote database. Clicking a row brings you to a detail page with some text and an image.
Does anyone have some example code willing to share?
I've been spending the last few days trying without result….
Thanks!
1 Answer
-
Benoit
I don't believe you can query a remote database directly; a remote web server with its own connection to the db will be required to run the query and return the results in json, xml or other format. Use Titanium's Titanium.Network.HTTPClient to access that web service, and use the examples in the KS to get an idea of how to process the results (search for "xhr")