That's not what I'm talking about, I'm talking about the MMF2 XNA extension SDK. However, apparently there is one here.
That's not what I'm talking about, I'm talking about the MMF2 XNA extension SDK. However, apparently there is one here.
Hi,
what i want to mention is that scan object does not have sdk for xna, so the time to translate to xna is a lot.
sorry for that
Regards,
Fernando Vivolo
... new things are coming ...
You can port WebView2 extensions to iOS and XNA thanks.
Hi!
Is it possible to load a local HTML file and pack it with the APK?
If so, how do I do it?
It works when running from MMF, but not when it's installed as APK on a phone.
I did put the file to the Binary Data, but it doesn't work.
-------------------------------------------------------------------
Load HTML will work for me for now. Solves some of my issues even that I can just put a bit of information before the expression gets "to complex".
Hi,
1.- Yes.
2.- Use a editbox as bridge, use load text from file (don´t forget to use file object to get the datastorage path)
after do a Load HTML it should works, if you are planning to have images;
1.- copy all images and html to data storage
2.- use editbox as bridge
3.- execute Load HTML
thing to have in mind, images inside html should be correctly linked.
if load file is executed in android in some devices a problem with special character will appears, so in order to avoid this, the above method is prefered
Regards,
Fernando Vivolo
... new things are coming ...
Hi Fernando,
Is possible to launch local html file (with local images) with webview2 for Android and iOs?
Webview can uses a cache for view offline content?
and finally, what is the difference between (Internal mode to navigate) 0: Normal or free navigation, 1: Controlled?
Thank you
1.- yes, use this "file:///sdcard/Pictures/xxxxxxxx.png for testing (depends on your location), and tell how it goes for you, HTML page should relative linked for its all contents, example .\images\button.png
2.- yes, but they don´t use cache for offline content as form, etc.
3.- this feature is not implemented in the object so far.
Regards,
Fernando Vivolo
... new things are coming ...
Great job Fernando, I am developing a large project for a tourist app and will use webview, I will inform you when launch it
I'm trying to bridge the html through the edit box.
It works on computer but not on the phone. So I guess there is some issues with the path to the html file (Its included in Binary Data).
I guess I should load the HTML with an expression to the edit box, but I need help with this...
Computer, works:
Phone, doesn't work:
![]()
Are you check all permissions? Check any android Webview2 example in MMF directory /Examples/WebView2/
Check the same permisions that have the examples in your app.
I think that's the problem, if not you will have to contact FVivolo