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

Images from sdcard

Discussion in 'Android Apps & Games' started by jelly, Oct 15, 2010.

  1. jelly

    jelly New Member
    Thread Starter

    Jan 15, 2010
    Ok I have been trying to figure this out for a while. I have an application that needs to read images from a folder created by the application on the sdcard. I have no idea what the names of the files are because the user specifies the names of the files. I need to read the images from the folder and make something like the default image viewer, where you can share them delete them and things like that. Im thinking read them into a grid view first but 1) cant figure out how to dynamically read them from a folder 2) how would I implement the image options like the default viewer? If there was a way to open the default viewer on a certain folder that would help.
    Anyways any input would be amazing been working on it for a while.


  2. xdmanalo

    xdmanalo Well-Known Member

    Jun 25, 2010
    newly created files not accessible on SD card?

    1) try SDReScan from the market. anytime i move new data to the SD card via wifi, i need to rescan the SD card to make them available. perhaps, this might help you as well.

    2) im less certain regarding configuring a default image viewer. i found that if multiple apps can load a particular file/process, an initial popup will load asking what app you want to use with a checkbox asking if the user wants to use it as default

    HTC Aria

Share This Page