title: Unable to select image from gallery android app (grayed out)
body: <p>I'm trying to allow the app user to select an image from their gallery and only set the image uri if the user actually selects it. The problem I'm facing is that when I open the gallery of images all of the images are grayed out and I cannot select an image regardless of the image format. Here is my code for that section:</p>
  
  <pre><code>    hostImageView.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
          Intent imageIntent = new Intent();                                                      
          imageIntent.setType("image*/");                                                         
          imageIntent.setAction(Intent.ACTION_GET_CONTENT);                                       
          startActivityForResult(Intent.createChooser(imageIntent,"Choose host image"),000);      
  
          }
         }
      );
  }
  
  public void onActivityResult(int askCode, int retCode, Intent info){                             
      if (retCode==RESULT_OK){
          if (askCode==000){
              hostImageView.setImageURI(info.getData());                                      
          }     
  }
  </code></pre>