title: Android Build - Select app name and icon at compile time
body: <p>I have developed a Stock Control app in Android that will be used for many people.
  Each of them will have the same app in the core but with different icon and different name.</p>
  
  <p>So I have decided to have only one project in Eclipse (Stock Control) and when X person needs the app I will build the APK based on that Eclipse Project but at the same time deciding specific icon and specific app name.</p>
  
  <p>So only thing that will change between compiled APKs will be the app name (strings.xml?) and icon (drawable-?dpi/ic_launcher).</p>
  
  <p>I need a command line for console or something like:</p>
  
  <pre><code>makeapk projectName
  </code></pre>
  
  <p>Scenario:</p>
  
  <blockquote>
    <p>We have</p>
    
    <ul>
    <li><p>The Android (Eclipse) Project: stock</p></li>
    <li><p>Folders stockNorth and stockSouth, each with two folders inside: values and drawable</p></li>
    </ul>
    
    <p>So when I run the magic command   <code>makeapk stockNorth</code> it compiles
    everything from stock project except values and drawable folders,
    because it picks them up from stockNorth folder.</p>
    
    <p>Then I get the APK with custom icon and strings .</p>
  </blockquote>
  
  <p>Is this possible?</p>
  
  <p>EDIT:
  Should I follow something like this?
  <a href="https://stackoverflow.com/questions/9681268/eclipse-building-android-app-how-can-i-create-two-versions-editions-at-compile">Eclipse building Android app: How can I create two versions/editions at compile-time?</a></p>
  
  <p>EDIT 2:
  The idea is only have one project and NOT to create one each time I need a new APK. One project and compile it with some parameters that change the icon and the strings of the current building APK.</p>