Compare names of every resource with the content of a variable of sqlite database
I hope you can help me, I already researched my case but didn't found a good answer. I want to compare the content of a variable with the names of all existing resources (if possible only with drawable resources). The question in short: How to compare the String content of an variable with a list of all resource names, preferential only with drawable resources? Or in other words: How to get a list (containing Strings) of all resource names, preferential only drawable resources? The Case: I want to display a symbol based on a given type. This type is retrieved from a SQLite Database. There are