Reply To: How to build a wbsite with mxtv player

About XMTV Player Forums Development How to build a wbsite with mxtv player Reply To: How to build a wbsite with mxtv player



If you use WewView to show you mobile page, you can handle urls and make check,%20java.lang.String%29

some samples you can see at

webView.setWebViewClient(new WebViewClient(){
public boolean shouldOverrideUrlLoading(WebView view, String url) {
// make ckeck if url is VideoLink
// check is XMTVPlyaer is Installed on User device using isXMTVPlayerAvailable code
// Call XMTVPlayer Intent using XMTVPlayerPlayUri code

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

* @param Title – Media Name
* @param uri – path/url to media
public void XMTVPlayerPlayUri(String Title,String uri){
Bundle bnd = new Bundle();
bnd.putString(“path”, uri);
bnd.putString(“name”, Title);
Intent intent = new Intent();
startActivityForResult(intent, 100);

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