Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Images from url not showing on android

$
0
0

Hey,

I am trying to show some images from my wordpress site in my app. Its working great on iOS but not working on android.
Images I am getting from one wordpress site and I cannot figure it out why its not working on android.

Code I am using to get and show images is from xamarin.com site:

var webImage = new Image { Source = ImageSource.FromUri(new Uri("https ://xamarin.com/content/images/pages/forms/example-appDOTpng")) };

If I use this link then picture shows on both platforms but if I use

var webImage = new Image { Source = ImageSource.FromUri(new Uri("https ://www.sportino-ma.com/wp-content/uploads/2015/11/19884496_436596000030267_1630323802236795993_n-e1499849630652-150x150DOTjpg")) };

it would not work. I have searched the web for solutions but without any success.

I hope that someone can help me.. Thanx..

P.S. - I'm trying to set image source with XAML too but with same result. (using binding imgUrl as source). Space in my links are because I cannot post links here


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>