1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Images from sdcard


Last Updated:

  1. jelly

    jelly New Member This Topic's Starter

    Joined:
    Jan 15, 2010
    Messages:
    3
    Likes Received:
    0
    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.
    Thanks
     

    Advertisement
  2. xdmanalo

    xdmanalo Well-Known Member

    Joined:
    Jun 25, 2010
    Messages:
    52
    Likes Received:
    6
    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

Loading...