[mono-android] it can't be this hard
Donn Felker
donn at donnfelker.com
Fri Mar 11 11:40:36 EST 2011
Images from remote servers in native android wont work as such. Here's a SO
post on one way to do it. Decode the stream into a drawable:
http://stackoverflow.com/questions/3075637/loading-remote-images
<http://stackoverflow.com/questions/3075637/loading-remote-images>
Donn Felker
Author of Android Tablet Dev for Dummies (Summer 2011)
Author of Android App Dev for Dummies & Intro to Android Development (
tekpub.com)
Microsoft ASPInsider, MCTS, MCP, CSM, ITIL
http://blog.donnfelker.com
http://twitter.com/donnfelker
On Fri, Mar 11, 2011 at 10:32 AM, Dan Kibby <DKIBBY at motorstate.com> wrote:
>
> I'm trying to display an image from a url to an imageview.
> This mirrors an example I found...but yields a blank imageview
>
> logouri =
> Android.Net.Uri.Parse("http://info.motorstate.com/star.jpg");
> logoimg.SetImageURI(logouri);
>
> Help?
>
> Dan Kibby
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110311/40dcb5e9/attachment.html
More information about the Monodroid
mailing list