tag:blogger.com,1999:blog-89878749563391212.post9155580593978142599..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Load bitmap file from SD CardUnknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-89878749563391212.post-14704636070769896462015-10-28T02:07:54.108-07:002015-10-28T02:07:54.108-07:00Thanks sir.. Im custom with application android my...Thanks sir.. Im custom with application android my successfullyEnden_nhahttps://www.blogger.com/profile/15936203173475075873noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-46953916923067736322011-04-10T07:48:34.459-07:002011-04-10T07:48:34.459-07:00hello Ventura,
Yes, I agree that gallery is a goo...hello Ventura,<br /><br />Yes, I agree that gallery is a good choice for your case.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47930087112302692502011-04-10T04:08:14.270-07:002011-04-10T04:08:14.270-07:00Sorry, I think I didn't express myself very cl...Sorry, I think I didn't express myself very clearly, but thanks for the prompt response. What I meant is:<br />I perform a search on a database, which returns the paths (/sdcard/whatever) to the images. The catch is you can't know "a priori" how many images will be returned (could be anywhere from 0 to 1000), and therefore you can't declare the ImageViews in the XML file, you have to declare them, as needed, in the java file.<br />I think I solved it, though, by inserting these ImageView into a Gallery (which, as you only need one, can be declared in the XML)Unknownhttps://www.blogger.com/profile/00805742317666305995noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-100539491277783052011-04-10T02:00:18.756-07:002011-04-10T02:00:18.756-07:00hello Ventura,
For "ImageView declared in th...hello Ventura,<br /><br />For "ImageView declared in the XML", it simple allocate a view to display image, not related to where the image come from. I can't catch what you means "didn't have the XML views declared". Do you means your layout XML have no ImageView declared?<br /><br />For "obtained the image paths dynamically", please refer <a href="http://android-er.blogspot.com/2011/02/display-gallery-selected-image-using.html" rel="nofollow">Display Gallery selected image using BitmapFactory</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-77450455154505308042011-04-09T11:14:51.390-07:002011-04-09T11:14:51.390-07:00ok, I know this works because you've got the p...ok, I know this works because you've got the proper ImageView declared in the XML file, but how would you go about it if you obtained the image paths dynamically, and didn't have the XML views declared?Unknownhttps://www.blogger.com/profile/00805742317666305995noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-33302993559880735462010-07-16T04:59:59.372-07:002010-07-16T04:59:59.372-07:00Do you need a file explorer? may be you can refer...Do you need a file explorer? may be you can reference <a href="http://android-er.blogspot.com/2010/01/implement-simple-file-explorer-in.html" rel="nofollow">Implement a simple File Explorer in Android</a> <br /><br />For video, I have tried using VideoView only, <a href="http://android-er.blogspot.com/2010/07/displays-video-in-videoview.html" rel="nofollow">Displays video in VideoView</a>Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-72696576081934491912010-07-16T02:50:54.405-07:002010-07-16T02:50:54.405-07:00Sorry, forgot to mention that I also want to load ...Sorry, forgot to mention that I also want to load videos :)Unknownhttps://www.blogger.com/profile/07991659429291028807noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-67782147268272755682010-07-16T02:48:33.374-07:002010-07-16T02:48:33.374-07:00Hi there,
sorry, to bother again, that tutorial ...Hi there,<br /><br /><br />sorry, to bother again, that tutorial looks great because it contains what I actually need, but my problem that I don't know how to retrieve or access all files available on the SD card and display them in the grid view. If someone could help me out here, that would be greatUnknownhttps://www.blogger.com/profile/07991659429291028807noreply@blogger.com