2017-05-05 1 views
1

M 개발 및 앱에서 XMTV 플레이어 앱에서 비디오를 재생하기 위해 Intent를 실행해야합니다. 나는 코드를 다음 시도했지만 그것은 단지 응용 프로그램은 플레이어보기로 이동하지 여는 ... 그래서 사람이 당신이 경로 매개 변수로 비디오 파일 또는 비디오 스트림에 링크를 통과해야 XMTVXMTV PlayerActivity 출시

Bundle bnd = new Bundle(); 
     bnd.putString("path", uri); 
     bnd.putString("name", "samplayer"); 
     Intent intent = new Intent(); 
     intent.setClassName("com.xmtvplayer.watch.live.streams","org.zeipel.videoplayer.XMTVPlayer"); 
     intent.putExtras(bnd); 
     context.startActivity(intent); 

답변