In the past I have used PackageManager to get a list of all installed apps on a device. Now there are certain apps that are designed to handle certain file types (or MIME types) by default. Like for example, if you touch an MP3 file in a file explorer app (like Astro or EStrong), you get a list of music players that are installed, from which you can select an app to open that MP3 file.
You can use Intents to display a similar Chooser popup for a particular data type, but that only displays it. I was wondering if it is possible to programatically get a list of apps that are capable of handling, say MP3 files.
There is some java code mentioned in the following link
How to get a list of installed android applications and pick one to run - Stack Overflow
It looks like adding some sort of an intent filter to PackageManager so that it returns only a certain type of apps. I was wondering if we can do something like this on B4A.
You can use Intents to display a similar Chooser popup for a particular data type, but that only displays it. I was wondering if it is possible to programatically get a list of apps that are capable of handling, say MP3 files.
There is some java code mentioned in the following link
How to get a list of installed android applications and pick one to run - Stack Overflow
It looks like adding some sort of an intent filter to PackageManager so that it returns only a certain type of apps. I was wondering if we can do something like this on B4A.