title: Getting the Application Context
body: <p>This might be a simple question but I just wanted to make sure I am right. </p>
  
  <p>In my android application I have a constructor that uses:</p>
  
  <pre><code>activity.getApplicationContext()
  </code></pre>
  
  <p>The activity is passed into the constructor as a parameter.</p>
  
  <p>The problem is that I am calling this class from a Service. If I make a second constructor which accepts the Service as a parameter and uses <code>service.getApplicationContext</code>? Will I get the same application context?</p>