Skip to content Skip to sidebar Skip to footer

How To Get A List Of Installed Video Players Programmatically?

I know its similar to this question How to get a list of installed media players, but I am not able to get a list of installed players. Can someone help me on this? Intent intent =

Solution 1:

Intent resolveIntent = new Intent(Intent.ACTION_VIEW);
resolveIntent.setDataAndType(Uri.parse("file://"), MIMEType);
List<ResolveInfo> pkgAppsList = mContext.getPackageManager().queryIntentActivities(resolveIntent, PackageManager.MATCH_DEFAULT_ONLY| PackageManager.GET_RESOLVED_FILTER);

Post a Comment for "How To Get A List Of Installed Video Players Programmatically?"