This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes how to refer a image that is stored in the phone to the listview. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to refer a image that is stored in the phone to the listview." Watch "how to refer a image that is stored in the phone to the listview." New topic
Author

how to refer a image that is stored in the phone to the listview.

Weifa Truong
Greenhorn

Joined: Apr 25, 2011
Posts: 1
I want to show a image that is stored in the phone as a icon in the listview. Because this icon should be dynamic so I cannot store the icon from the beginning in the package. Can I refer to my phone storage card at android:src="@drawable/icon" on xml file?
 
wood burning stoves
 
subject: how to refer a image that is stored in the phone to the listview.