Android: Set selected icon in GridView
I'm trying to find a way to store the name of an icon in my database, then use that name to let a user select an icon from an ImageView. I've found various gu开发者_如何学JAVAides on ImageViews and Galleries, but none that show how to get/set the selected image by name. The list of available images won't change, but what's that best way to implement this?
check this tutorial, it can give you an Idea of how to do it:
http://www.firstdroid.com/2011/02/06/android-tutorial-gridview-with-icon-and-text/
Good luck. Adrian.
精彩评论