Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
gridcell = (Button) row.findViewById(R.id.calendar_day_gridcell);
gridcell.setText(theday);
ImageView iv = new ImageView(pcalendar.this);
UrlImageViewHelper.setUrlDrawable(iv,"http://172.16.4.29:81/pht/2013/9/18/3027_2013_9_18_12_14_56_b.JPG");
iv.buildDrawingCache();
Bitmap bmap = getResizedBitmap(iv.getDrawingCache(), 80, 80);
Drawable d = new BitmapDrawable(getResources(), bmap);
gridcell.setBackground(d);


i tried this one but image is not loading from Url
please help me.
Posted
Updated 18-Sep-13 1:05am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900