1. Check out our companion app, Forums for Android! Download from Google Play

Support Refresh Gallery

Discussion in 'Android Devices' started by necrosays, Nov 26, 2009.

  1. necrosays

    necrosays Member
    Thread Starter
    15

    Nov 19, 2009
    11
    0
    15
    Is there a quick way to refresh the gallery?

    I download pictures from the browser, so it automatically adds them to the gallery.

    But i dont like my downloaded pictures showing up in the gallery so i made a hidden folder within download/ called .pics/.

    after i download pictures i always use a file manager to move them to the hidden folder. but when i check the gallery, it sill shows shows them as being in the download/ folder.

    the only way ive been able to refresh the gallery, to hide the hidden images, is to reboot the fone.

    anyone have any ideas?
     

    Advertisement

  2. atraudes

    atraudes New Member
    5

    Jun 21, 2010
    1
    0
    5
    You want to fetch the adapter for the view (Gallery in this case) and call the function that notifies it that the dataset has changed. For example:

    ((BaseAdapter) yourGalleryView.getAdapter()).notifyDataSetChanged()
     
  3. jmims

    jmims Well-Known Member
    38

    Dec 7, 2009
    259
    15
    38
    Columbus, GA
    There's a widget called SDMount that I use that does this. It'll unmount and remount the SD card, thereby refreshing the Gallery. Works like a charm.
     
    foo, kensdavid and Sim-X like this.
  4. Sim-X

    Sim-X Well-Known Member
    18

    Jun 9, 2010
    83
    24
    18
    Minneapolis, MN
    This works perfect, just what I was looking for.

    Thanks & thanked
     
  5. supersaki

    supersaki Well-Known Member
    43

    Dec 3, 2009
    386
    36
    43
    Is that the exact command? If I want to create a bettercut shortcut to do this, can I just copypasta that?
     
  6. bemenaker

    bemenaker Well-Known Member
    38

    Dec 10, 2009
    137
    16
    38
    Go into your application settings, and clear the data and cache from the gallery. If pics aren't showing up, something there is corrupted. I did that, now everything just pops up like it's supposed to.
     
  7. foo

    foo Well-Known Member
    68

    Oct 20, 2008
    483
    105
    68
    IT
    Chicago, IL
    widget works great, thx
     
  8. androiduser800

    androiduser800 New Member
    5

    Dec 2, 2011
    1
    0
    5
  9. wmkjones22

    wmkjones22 New Member
    5

    Jan 13, 2012
    2
    0
    5
    I connected by smart phone to my PC and copied about 20 pictures into the 100ANDRO folder on the phone. Now when go into Gallery, I see the pictures I copied, but I also see about a dozen other albums of pictures that were apparently copied from my PC. When I reconnect to my PC, I still see only the 100... folder in the folders and I don't see any other folder containing pictures. Does anyone have an idea how these picture folders got onto my phone and where they are stored? Thanks.
     
  10. Thanks for the name of the app (Gallery Refresh) to refresh all the media on your phone, I've been looking for something to refresh my gallery pics. The app works great and does exactly what it says on the tin.

    Best wishes

    Catherine x
     

Share This Page

Loading...