title: Android PHONEGAP app / cant open in browser
body: <p>I have an android app that we are deploying to the problematic BES12 secure workspace. This has a web browser which has to use a proxy.</p>
  
  <p>This app is really simple, it opens a webpage, however it opens using a browser within the app which will not use the proxy settings.</p>
  
  <p>I need this app to open a webpage but using the PHONE BROWSER (i,e outside of the app).</p>
  
  <p>I have read, and followed multiple threads about opening a URL in the phone browser and NOT the app and none of them work.</p>
  
  <p>Here is my config.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  </code></pre>
  
  <p>http://www.w3.org/ns/widgets"</p>
  
  <pre><code>    xmlns:gap   = "http://phonegap.com/ns/1.0"
      id          = "(removed for security)"
      version     = "1.1.2"
      versionCode = "10" &gt;
  
  &lt;!-- versionCode is optional and Android only --&gt;
  
  &lt;preference name="phonegap-version" value="3.6.3" /&gt;
  
  
  &lt;name&gt;cURLs&lt;/name&gt;
  
  &lt;description&gt;
       FGW Corporate URL Library
  &lt;/description&gt;
  
  &lt;author href="(removed for security)" email="(removed for security)"&gt;
      Morgan
  &lt;/author&gt;
  
  &lt;icon src="icon.png" /&gt;
  
  &lt;preference name="orientation" value="portrait" /&gt;
  
  &lt;access origin="*" browserOnly="true"/&gt;
  
  &lt;gap:plugin name="org.apache.cordova.inappbrowser" version="0.5.2" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>and here is the app itself (REALLY simple, only in its infancy)</p>
  
  <pre><code> &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;
          App Library
      &lt;/title&gt;
      &lt;meta name="apple-mobile-web-app-status-bar-style" content="blue"&gt;
  
      &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
      &lt;link href="css/custom.css" rel="stylesheet"&gt;
  
      &lt;script src="phonegap.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="container-fluid"&gt;
  
  
      &lt;p class="text-center" style="margin-top: 20%;"&gt;
          &lt;img src="icon.png" style="width:50%;"&gt;
      &lt;/p&gt;
      &lt;h1 class="text-center"&gt;
          Welcome to cURLs
      &lt;/h1&gt;
      &lt;h2 id="show-once" class="text-center"&gt;cURLs is Loading..&lt;/h2&gt;
      &lt;p id="slow-button" class="text-center" style="padding-top: 100px;"&gt;
          &lt;button type="button" class="btn btn-primary btn-large text-center" onclick="window.open('http://(removed for security)', '_blank', 'location=yes');"&gt;Reload cURLs Library&lt;/button&gt;
      &lt;/p&gt;
  
  &lt;/div&gt;
  
  &lt;/body&gt;
  
  &lt;script&gt;
  
      // redirect to google after 5 seconds
      window.setTimeout(function() {
          window.open('http://(removed for security)', '_blank', 'location=yes');
      }, 2000);
  
  
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In essense the first time it runs, it auto opens the URL, but the app will stay in the background to reload latest versions if needed via the button.</p>
  
  <p>All I want this to do is to open the URL OUTSIDE of the app, i.e. in the default browser.</p>
  
  <p>I have also tried a target of "_system"</p>
  
  <p>Many thanks in advance for helping to end this headache</p>