dimanche 24 mai 2015

How do I get URLs from Sqlite database into String Array ANDROID?

I need to populate a listview with data from an existing sqlite database. Also we want to load the images from the Internet by using the URLs stored in the database.

I have been able to populate the list view with images from the Internet by creating string arrays in my activity and using Lazy Loader. Lazy Loader accepts a String[] of URLs no problem

What I also have been able to do is populate my listview with data from the existing database. The only thing not working is the URLs which is why I'm having a problem.

I need to to get these URLs from the database into a String Array that Lazy Loader will accept as an argument.

I've checked in my books, every Internet posting I could find even remotely related to this topic, and I've tried everything I can think of. Please help!

Aucun commentaire:

Enregistrer un commentaire