title: Share APK via share option in android
body: <p>Hi I'm trying to make a button which share my application through other media like Bluetooth &amp; ShareIt. I tried this</p>
  
  <pre><code>public void onClick(View view) {
      Intent sendIntent = new Intent();
      sendIntent.setAction(Intent.ACTION_SEND);
      sendIntent.putExtra(Intent.EXTRA_TEXT, "Share this application");
      sendIntent.setType("text/plain");
      startActivity(sendIntent);
  }
  </code></pre>
  
  <p>This works for sharing some text. Now how can I share my apk file or application via this???</p>