Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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!

— asked November 17th 2010 by Benoit Willaert
  • database
  • example
  • remote
  • tableview
  • update
  • working
0 Comments

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")

    — answered November 17th 2010 by Paul Dowsett
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.