title: Multiple AndroidManifest.xml files for one project?
body: <p>For the past few months, I've been developing an Android app against Cupcake (Android 1.5, API Lvl 3), and everything is working quite well (overall it is a fairly simple app).</p>
  
  <p>However, recently I noticed there are two things that I would like to do:</p>
  
  <ol>
  <li>Restrict permissions to only use Internet (with API Lvl 3, it uses 2 other permissions despite only defining the Internet permission in the manifest xml)</li>
  <li>Let users move the app to SD card/external storage</li>
  </ol>
  
  <p>Both these changes are really simple - couple of lines in <code>AndroidManifest.xml</code></p>
  
  <p>The solutions I found are:</p>
  
  <ol>
  <li>To restrict permissions, add: <code>&lt;uses-sdk android:minSdkVersion="4"/&gt;</code>
  <a href="http://developer.android.com/guide/topics/manifest/uses-sdk-element.html" rel="nofollow">http://developer.android.com/guide/topics/manifest/uses-sdk-element.html</a></li>
  <li>To allow users to move app to SD card, add (to the <code>manifest</code> tag): <code>android:installLocation="auto"</code>
  <a href="http://developer.android.com/guide/topics/manifest/manifest-element.html" rel="nofollow">http://developer.android.com/guide/topics/manifest/manifest-element.html</a></li>
  </ol>
  
  <p>However, solution for #1 requires API Lvl 4 (Android 1.6) and solution for #2 requires API Lvl 8 (Android 2.2)!</p>
  
  <p>So does it mean that if I want both #1 and #2 as listed above, my app will only be compatible with Android 2.2+ ?</p>
  
  <p>Or, is there a way to have multiple AndroidManifest.xml files for the one project? (I know the actual code for the app works for Android 1.5 and seems a waste to exclude them simply for a couple of extra lines in the manifest file)</p>
  
  <p>Thanks!</p>