Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Loading Html content with resources doesn't work on windows phone

$
0
0

Hey everybody,
I'm trying to load a local html base url with resources I mean images, js and css in windows phone platform.
I've already done it on Android and iOS on my mac and it works pretty well.
Today I'm trying to do it in visual studio to develop my app on windows phone.
I want to reference my resources directly from html page but it doesn't work.

I've tried to Load my html page in string and display it on HtmlWebViewSource (it works to display html but it omits resources) even when I use function SaveFilesToIsoStore recommended by microsoft.
I thought it was references in html code so I change my file path in it but nothing change.

I used 5 different ways to display my content, one way work for html and css but javascript isn't load (I insert my css and js in html string and I display all content).
I've even tried to use sample WorkingWithWebview on widows phone to know if it was my code but without modify code, references aren't call by phone that's mean even sample doesn't work. Did I have omitted something in my project ?

I've also tried looking for the internet to find solution but always nothing.

I hope you can help me.


Viewing all articles
Browse latest Browse all 58056

Trending Articles