Search code examples
androidimagedrawablesd-card

get images from memory card and store in drawable folder


I made a application in which many images are shown,

all images are pre-stored in drawable folder of resources,

but if i want to add new picture then how can i do this,

it should read from memory card but only once, after that it automatically load.


Solution

  • If I understand correctly, you want to upload images yourself to the app instead of letting user use images or..?

    If it's you, who should upload new images, you can download them to the app with a check if there are new ones.

    If it's the user, you can check their gallery on the sd card, but unfortunatly I don't think it's possible to store these in the drawable folder.