hi colegas!! I have a gridview where i load images from the SDCARD. I ve achieved this but i want to limit the images that the gridview charges.
I ve read two ways to do that but at this moment i can´t resolve this problem by myself, i need your help. I ve been thinking that i can load only the images that are contained in a specific folder called "maps" that is on the SDCARD. To do that i ask you if the method Uri.withAppendedPath(MediaStore.Images.EXTERNAL_CONTENT_URI +"path_to_my_folder") would work. I m not sure if I can feed the method with a path to my specific folder like "/sdcard/maps" The other way, it is limit the query to the image content provider. managedQuery(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,fields,filter,null,null) and in filter put some SQL statement but I don't know how it works. I think something like this: filter = "WHERE DISPLAY_NAME = 'mapa1.jpg' OR DISPLAY_NAME='mapa2.jpg' ..." I hope you understand my problem. Thanks in advanced. Néstor -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

