isXMTVPlayerAvailable

public static boolean isXMTVPlayerAvailable(Context context) {
PackageManager pm = context.getPackageManager();
boolean app_installed = false;
try {
pm.getPackageInfo(“com.xmtvplayer.watch.live.streams”, PackageManager.GET_ACTIVITIES);
app_installed = true;
}
catch (PackageManager.NameNotFoundException e) {
app_installed = false;
}
return app_installed ;
}

IPTV | Smart TV | Mobile Theatre Software | Media Player for Android(tm)