title: Context.getPackageName() vs BuildConfig.APPLICATION_ID
body: <p>I can retrieve the package name using:</p>
  
  <pre><code>Context.getPackageName()
  </code></pre>
  
  <p>or</p>
  
  <pre><code>BuildConfig.APPLICATION_ID
  </code></pre>
  
  <p>Is there any difference between those 2 ways?
  Is one preferred to another in particular situations?
  Is it safe to assume that they always give the same result?</p>
  
  <p>Basically, <strong>which one is better</strong>?</p>