Titanium Community Questions & Answer Archive

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

Interaction between WebView and the app ?

I want to use a Webview (special webpages created exclusively for my app) and launch some actions in my app when some links in the Webview are clicked.
What's the best way ?
Thanks in advance.

— asked August 27th 2010 by Pierre Vettier
  • interaction
  • iphone
  • webview

1 Answer

  • You could load the page using xhr to avoid the security measure that does not allow remote pages to interact with Titanium and use Titanium.App.fireEvent when you click the links to trigger what you need on the Titanium side.

    — answered August 27th 2010 by Dan Tamas
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.