File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Iterating through images in Resource Folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Iterating through images in Resource Folder" Watch "Iterating through images in Resource Folder" New topic
Author

Iterating through images in Resource Folder

Robert Darling
Ranch Hand

Joined: Jun 21, 2008
Posts: 100

Hi,

I want to iterate through images in my res folder. How can i do this, and then dynamically add them to a scrollview/tableview? Is it possible.

Kind Regards.
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

You can maintain an array of Resource IDs and then use them your code. Similar technique has been used in this tutorial.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iterating through images in Resource Folder