title: Android: Playing .avi video file using default player
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1572107/android-intent-for-playing-video">Android intent for playing video?</a>  </p>
  </blockquote>
  
  
  
  <p>How to play .avi video file using default player.</p>
  
  <pre><code>Intent intent = new Intent(MediaStore.INTENT_ACTION_MUSIC_PLAYER);
  File file = new File(arrGetVideoList.get(position));
  intent.setDataAndType(Uri.fromFile(file), " video/*");
  startActivity(intent);
  </code></pre>
  
  <p>arrGetVideoList is a arraylist contains videofile path.</p>
  
  <p>Can anyone help me.</p>