• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps sqlite db question

Here is what I am trying to do and would like some advice on the best methods to do it:

- have a database that contains a word, and the name of an image file associated with that word.
- the words from the database will be displayed in a listview
- when the word is selected, a new activity will start displaying the word and the image in an image view.

Would it be best to store the terms in an array and have the list view populate from this array and then pull from the database onitemclick? Or can the list view be populated with the terms from the database?

Will android be able to display the image if the name of the file is stored in the db?
 
I've moved this to the Application Development forum so you get some better eyes on it.:)
 
Back
Top Bottom