title: Returning to Activity after playing video in external Video Player
body: <p>Wit this code i start an external video player and play video:</p>
  
  <pre><code>public class MenuActivity extends ActionBarActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_menu);
  
  
  l_video.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          String file_name="34743773";
          File path = new File(Environment.getExternalStorageDirectory() + File.separator + "AAAAA"+ File.separator +file_name+".mp4");
  
          Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(String.valueOf(path)));
          intent.setDataAndType(Uri.parse(String.valueOf(path)), "video/*");
          startActivity(intent);
      }
  });
  }
  }
  </code></pre>
  
  <p>My problem is that when playing of video end's, entire App closes! i want that only video player closes and control goes back to my App activity. What i have to do? </p>