Rahul Matte Rahul Matte - 1 year ago 124
Android Question

How to filter android file chooser apps

I am using below code to select the file from device

Intent intent = new Intent(Intent.ACTION_PICK);
intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true);

The above code give below output

sample out put

Is there any way to remove or filter the apps shown in dialog? for e.g. I want to remove both
from the dialog.

Answer Source

The intent type Intent.ACTION_PICK makes the app to open all other apps which are capable of doing the action Intent.ACTION_PICK. I have noticed it when I removed photos app, it's option was not showing in above popup.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download