Search code examples
androiddatabasesqliteimageswitcher

How to implement imageswitcher code in android application?


I want to get images name from database and images are stored in the resource folder Could you show me how to do it. I tried few methods but none works.


Solution

  • You cant do it, resource folder is read only folder, and the R.java also generated at compiled time, not in runtime. You can save the image in sd card or cache memory .