Titanium Community Questions & Answer Archive

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

Android webview set html after navigtion?

On Android it seems that after you navigate to some link in a webview you no longer can set the html property.

The adb logcat only reports "TAP,TAP,TAP"

Any workaround for this?

Thanks

— asked September 9th 2010 by Dan Tamas
  • android
  • set.html
  • webview
0 Comments

2 Answers

  • Accepted Answer

    Thank you for reporting that. The problem has been confirmed and a tracking ticket created.

    — answered September 10th 2010 by Bill Dawson
    permalink
    0 Comments
  • More data:
    It seems that once you set the url of the webview, the html property cannot be set anymore( on iphone works).
    If you try to set the url to null or to "" it crashes or gives an 404
    If you try to set it to "about:blank" it doesn't set the html either.

    Any clue?
    Thanks

    — answered September 9th 2010 by Dan Tamas
    permalink
    1 Comment
    • The same thing is available for webview.data property also.

      — commented March 2nd 2012 by Petre Ciorik
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.