UserAndroid Posted March 10, 2012 Share Posted March 10, 2012 Bonsoir, SVP comment parcourir une image de mémoire interne de téléphone ou de la carte SD et la mettre dans une ListView en Android ? Merci beaucoup Link to comment Share on other sites More sharing options...
arnouf Posted March 11, 2012 Share Posted March 11, 2012 En créant son propre adapter qui utilisera un imageview. L'image en mémoire ou carte sera chargée en tant que Bitmap afin d'être intégrée dans l'imageview contenu dans le layout utilisé par l'adapter. Link to comment Share on other sites More sharing options...
nbbu Posted March 13, 2012 Share Posted March 13, 2012 Tu devrais chercher un peu sous Google, tu peux trouver des explications et du code. En quelques secondes on peut trouver ça : http://stackoverflow.com/questions/5098484/populating-a-listview-with-images-from-the-sd-card-not-a-set-amount-of-items-in Même si tu comprends pas/mal l'anglais, l'extrait de code, lui, est très parlant :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.