I am using below code to select the file from device
Intent intent = new Intent(Intent.ACTION_PICK);
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.