title: Select pdf file from phone on button click and display its file name on textview
body: <p>I want to select pdf file from phone on button click and display its file name on a text view. till now I have done opening file manager for selecting pdf on button click</p>
  
  <pre><code>btnUpload.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Intent intent = new Intent();
              intent.setAction(Intent.ACTION_GET_CONTENT);
              intent.setType("application/pdf");
              startActivity(intent);
          }
      });
  </code></pre>
  
  <p>how do I get the selected file name on <code>textview</code>??</p>