title: android- open gallery and choose image and video
body: <p>In my project I want to open a gallery on a button click and should be able to pick image or video to get path of them.</p>
  
  <pre><code>Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
  
  startActivityForResult(i, RESULT_LOAD_IMAGE);
  </code></pre>
  
  <p>From above code i am able to open gallery but in this case i am only able to choose image. So, please help me in choosing video also.
  Thanks in advance.</p>