title: Can we detect if android app is updated from google play on introduction of a new version?
body: <p>I have a app on play store and i want to provide app update through the play store.</p>
  
  <p>Also, on updation of the app i want to perform some task. So, how can i perform a task on updation of my app from the play store. </p>
  
  <p>I thought of maintaining <code>current version</code> and cross check it every time the app is fired, is there any other efficient way such as any <strong>intent</strong> fired on <strong>app updation</strong> that can be handled on the <code>device</code> itself.</p>