title: Android BitmapFactory.decodeStream can't decode some URL's
body: <p>I have one weird problem and I'm trying to solve it a couple of hours already. Problem is that this code below can decode all images except those one which have small first letter in name. For example, it's working for Dog.png or 123.png but it doesn't work for dog.png, cat.png or any other with small first letter. It just displays some random color for them. I'm confused. Any ideas?</p>
  
  <pre><code>    Bitmap bitmap = null;
  
      options.inJustDecodeBounds = false;
      try {
          bitmap =  BitmapFactory.decodeStream((InputStream)new URL(imagePath).getContent(), null, options);
      } catch (MalformedURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
      image.setImageBitmap(bimage);
  </code></pre>