Package 

Class CropImageIntentChooser

    • Method Detail

      • showChooserIntent

         final Unit showChooserIntent(Boolean includeCamera, Boolean includeGallery, Uri cameraImgUri)

        Create a chooser intent to select the source to get image from.<br></br> The source can be camera's (ACTION_IMAGE_CAPTURE) or gallery's (ACTION_GET_CONTENT).<br></br> All possible sources are added to the intent chooser.

        Parameters:
        includeCamera - if to include camera intents
        includeGallery - if to include Gallery app intents
        cameraImgUri - required if includeCamera is set to true
      • setupPriorityAppsList

         final CropImageIntentChooser setupPriorityAppsList(List<String> appsList)

        Set up a list of apps that you require to show first in the intent chooser Apps will show in the order it is passed

        Parameters:
        appsList -
        • pass a list of package names of apps of your choice

        This overrides the existing apps list