title: Android: Images saved by my app do not show in gallery -- even after reboot
body: <p>I create and save image in my Android app:</p>
  
  <pre><code>File dir = new File(Environment.getExternalStorageDirectory(), ".myappname/saved");
  File imageFile = new File(dir, "IMG" + random() + ".jpg");
  FileOutputStream out = new FileOutputStream(imageFile);
  bi.compress(Bitmap.CompressFormat.JPEG, 100, out);
  </code></pre>
  
  <p>The images do not show up in the gallery -- even after reboots.</p>
  
  <p>UPDATE: I only show part of the code! I also corrected the typos I introduced when writing the StackOverFlow message. The images save fine -- and I can view them -- they just don't show in Gallery. 
  I just removed the dot from ".myappname" -- no the gallery shows the images. Strange. As I say below other apps save images in dot-folders and they show in gallery :(</p>