lundi 7 mars 2016

store array of uris to sqlite

I have array of uri's. i show them using while loop in image view. but i want to store in Sqlite so that if no internet available i can use that array of uri later on to show in Imageview.

I have not tried any code please consider my apology. though i have tried simple example of storing in Sqlite.

I tried this

 Iterator<Uri> iterator = mMedia.iterator();
            while (iterator.hasNext()) {
                uri = iterator.next();
    }

Aucun commentaire:

Enregistrer un commentaire