title: How do I add this code to my Appcelerator/Titanium project?
body: <p>What I want to do is print out every URL that is loaded within a WebView in my Appcelerator project. Let's call it a console window. I also want to log URLs requested by Flash plugins. Upon searching these forums, it appears that <code>onLoadResource</code> should work, but I'm not sure how to implement this Java code into my Appcelerator project.  I assume I'll need a custom module?  The code I think I need would be something like this:</p>
  
  <pre><code>@Override
  public void onLoadResource (WebView view, String url) {
      // Somehow give my Titanium app access to the url...
  }
  </code></pre>
  
  <p>Any pointers on how to implement this?</p>