You can use reflection for this. Get all the fields of R.drawable and loop throug them. Though it could be this won't work, as I've read somewhere that reflection is kinda strange on Android.notwizard wrote:Hi,
For example, I have several images under drawable folder: img1, img2, img3, ...img50. Is there a way to read these images with a loop, instead of loading it 50 times manually?
AFAIK this is not possible.notwizard wrote:Second question, is there a way to create sub folders under drawable so that I can manage different kind of images in my application.
How do you push it? Maybe you've put it on the SD, or in some other folder than /data/data/myapp...notwizard wrote:Third question, I try to push a text file into the emulator. However, I cannot find the files folder under /data/data/myapp. Is there a way to create the files folder myself? I really cannot find where this feature is located.
Users browsing this forum: No registered users and 18 guests