I am trying to open a file from Google Drive in my android app. Here is what I currently have.

```
        Intent importIntent = new Intent(Intent.ACTION_GET_CONTENT);
        importIntent.setType("file/*");
        startActivityForResult(importIntent, ACTIVITY_REQUEST_CODE_IMPORT);

```

This opens a "Open From" dialog which allows to select files using Google Drive, Downloads and my file browser. I can select files using my file browser without a problem. But Google Drive doesn't allow me to select files. All files shown in Google Drive are grayed out and not selectable. Same happens when I try to select using Downloads.

How can I resolve this? if I use importIntent.setType("\*/\*"), Google Drive allows to select files, but several other options including Contacts, Images appear in "Open From" dialog which I do not want.

Thanks