the problem should be coming from. public void setViewImage(ImageView v, String value) { super.setViewImage(v, value); try { v.setImageBitmap(BitmapFactory.decodeStream(new URL(value).openConnection().getInputStream())); } catch (Exception e) { e.printStackTrace(); } }
but I can't seem to figure out why.. MagouyaWare於 2012年8月8日星期三UTC+8上午5時13分12秒寫道: > > No one is going to download your code and look at it. Figure out the > relevant parts and paste them here and then you have a better chance of > getting someone to help. > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Mon, Aug 6, 2012 at 9:23 AM, Jeff Huang <jeff...@gmail.com<javascript:> > > wrote: > >> First thing first I've attached all my code >> >> Design: >> Interface with 4 Tabs >> Under one of the tab contains a gallery like menu (fragment + gridview) >> gallery pictures are retrieve at runtime from the web. >> there is a correspond namelist to retrieve the pictures. >> >> Goal: >> Create application that retrieves most of the content at runtime from the >> internet. >> meaning a client-side app if possible >> >> ex. Alice, Bob, Cathy, Don <~string array >> pictures are retrieved from say http://www.friend.com/alic.pnge, >> http://www.friend.com/bob.png etc etc. >> onclick of the avatar/picture of the person will trigger a new activity >> (not yet implemented) >> >> Problem: >> even though the pictures loads correctly, however there seems to be a >> huge lagging issue. (tested with 100 photos of of grand total size of 1mb) >> and whenever I scroll down the gallery it seems to reload the pictures. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to >> android-d...@googlegroups.com<javascript:> >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en