how to use queryIntentActivityOptions() method
问题 Am trying to create a dialog that shows all applications in a user phone that can be used to select a picture from the storage or take one using the camera. below are my two intents that am planning to use. Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); photoPickerIntent.setType("image/*"); Intent takePicture = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); The best way i have found to populate my listview in my customized dialog with applications that can perform the above actions