title: How to pass customizable property when Android app launches
body: <p>I would like to launch my Android app in such a way that I can set some external variable that my app can read. It would be nice if this was possible either in Gradle or as part of the debug/run configuration.</p>
  
  <p>In essence, I would like to test for a variable to see if it is set. In this example I would like to set USE_FAKE_DATA:</p>
  
  <pre><code>if (USE_FAKE_DATA) {
    ...
  } else {
     ...
  }
  </code></pre>
  
  <p>One way is to use build variants and I have done this before. But I'm wondering if another way has been made available.</p>