XMTVPlayerPlayList

/**
* @param Title – Play List Name
* @param StringJSArray – Converted JSArray to String with playlist data [{“title”:”title 1″,”uri”:”uri 1″},{“title”:”title 2″,”uri”:”uri 2″},{“title”:”title 3″,”uri”:”uri 3″}]
*/
public void XMTVPlayerPlayList(String Title,String StringJSArray){
Bundle bnd = new Bundle();
bnd.putString(“data”, StringJSArray);
bnd.putString(“name”, Title);
try{
Intent intent = new Intent();
//intent.setClassName(“com.xmtex.videoplayer.ads”,”org.zeipel.videoplayer.XMTVPlayer”);
ComponentName cName = new ComponentName(“com.xmtex.videoplayer.ads”,”org.zeipel.videoplayer.XMTVPlayer”);
intent.setComponent(cName);
intent.putExtras(bnd);
startActivityForResult(intent, 100);
} catch (Exception e){
try{
Intent intent = new Intent();
intent.setClassName(“com.xmtvplayer.watch.live.streams”,”org.zeipel.videoplayer.XMTVPlayer”);
intent.putExtras(bnd);
startActivityForResult(intent, 100);
} catch (Exception eNoPlayerFound){
// no player found
}

}
}