ems316
Topic Author
Posts: 2
Joined: 10 Oct 2016, 16:46

WebView XAML

11 Oct 2016, 12:10

Hey all,

Was wondering if Noesis currently supports MSDN's WebView class with the C# SDK (Unity). If so, if anyone has an example project or an example script showing how to implement a WebView it would be a great help (new to UWP devel & Noesis).

Thanks!
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebView XAML

11 Oct 2016, 23:50

WebView is not supported and it is not planned for a near future. There are a few threads about webkit integration though:

viewtopic.php?f=3&t=579&p=3132
viewtopic.php?f=12&t=591
 
ems316
Topic Author
Posts: 2
Joined: 10 Oct 2016, 16:46

Re: WebView XAML

12 Oct 2016, 11:53

Only problem is that uWebKit has been discontinued & you can no longer download it from anywhere. Seems like there is no plausible way anymore to get a browser open in Unity for UWP applications.
 
peterh
Posts: 39
Joined: 13 Mar 2015, 13:50

Re: WebView XAML

10 Nov 2016, 12:42

In our application, we solved this by opening an external browser on desktop platforms, and using the system's native webviews for iOS and Android. To simulate the view being part of the Noesis GUI, we used a placeholder rectangle, whose size is sent down to the native (Obj-C for iOS and Java for Android) runtime to set the size and position of the webview. It's not too hard to implement and it works pretty well, although it takes some time to load the content at first.
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebView XAML

11 Nov 2016, 22:02

Interesting workaround. Do you have any screenshots? Thanks!
 
martinj
Posts: 19
Joined: 20 Mar 2012, 15:38

Re: WebView XAML

17 Nov 2016, 08:21

The implementation can be tested in our app. Press the "?"' on the main menu, or in the "top bar" of our app. This will open a HTML view showing the help for the app.

https://itunes.apple.com/us/app/easy-la ... 69968?mt=8

https://play.google.com/store/apps/deta ... sylaser.xt

Who is online

Users browsing this forum: Google [Bot], vinick and 58 guests