title: configure android intents via config.xml in phonegap app
body: <p>I am developing a phonegap and would like to use intents for android. When I add the following to AndroidManifest.xml (within platforms/android) it works like expected.</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
      &lt;data android:scheme="http" /&gt;
      &lt;data android:scheme="https" /&gt;
      &lt;data android:host="*mysite.com" /&gt;
      &lt;data android:host="*mysite.de" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>Now I would like to know how to configure this not via AndroidManifest.xml but via config.xml under www/ since as far as i understand the AndroidManifest.xml file might be overwritten during the build process and the config.xml is the right place for stuff like this. I tried the following (including all kinds of variations):</p>
  
  <pre><code>&lt;platform name="android"&gt;
      &lt;config-file target="AndroidManifest.xml" parent="/manifest/application/activity"&gt;
           &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
              &lt;data android:scheme="http" /&gt;
              &lt;data android:scheme="https" /&gt;
              &lt;data android:host="*mysite.de" /&gt;
              &lt;data android:host="*mysite.com" /&gt;
          &lt;/intent-filter&gt;
      &lt;/config-file&gt;
  &lt;/platform&gt;
  </code></pre>
  
  <p>...unfortunately this will always result in the following error:</p>
  
  <pre><code> [echo] ----------
   [echo] Handling Resources...
   [aapt] Found modified input file
   [aapt] Generating resource IDs...
   [aapt] /home/.../platforms/android/res/xml/config.xml:30: error: Error parsing XML: unbound prefix
  </code></pre>
  
  <p>Any idea is appreciated, I searched the web for over an hour.</p>
  
  <p>My phonegap version is 3.5.0-0.21.18</p>