title: Worklight App inside an Android Fragment
body: <p>Is there a way to host a Worklight app inside an Android Fragment?</p>
  
  <p>I have attempted to use the WLWebView inside a Fragments onCreateView</p>
  
  <pre><code>WLWebView webView = new WLWebView(getActivity());
  webView.getSettings().setJavaScriptEnabled(true);
  webView.loadUrl("file:///path_to_app.html_file", 60000);
  return webView;
  </code></pre>
  
  <p>But it results in a timeout error even though I can see the HTML. It could be the connection to Worklight failing as we are using <code>WL.Client.connect()</code>. The error doesn't specify which URL timed out. </p>
  
  <p>I do believe that the WLDroidGap class (which is used as the primary activity) adds a whole lot of extras to the WLWebView to make things work but I don't have access to the source to see what exactly.</p>
  
  <p>The requirement we have is that we want to have a Native app hosting a Worklight app.</p>
  
  <p>Is this possible?</p>