title: android how to check app is downloaded from (Play store/android market )or( bluetooth/other )
body: <p>I want to validate on My app ABCD. I have added functionality in my app to send it  to other device. I can send my installed app ABCD form my device to other device via Bluetooth.
  Now , I want to create check .</p>
  
  <pre><code>if(isFromPlayStore){
      // always valid downloaded from play store
  }else{
      // trial version expired in 30 day
  } 
  </code></pre>