I would like to put an icon into a String:
Using java Syntax Highlighting
- public String toString() {
- SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
- String dateString = sdf.format(date);
- return "Icon: " + android.R.id.icon + " " + dateString;
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
But I get the "number" of the icon, not the image:
Icon: 16908294 13:43
Can somebody show me how to do it?
Many thanks!


