WebView
 Display Web Page in an app



Install the Tutorial App

If you haven't yet installed the WebView Tutorial app, click here to install it.


Overview

Web frame displays a website in an app.

It's a very simple use of the HTML Block.

It display a URL, in our example opentable, in a WebView (the HTML Block).


The only thing to do is to enter the URL in the 'URL' field!
 


A couple of parameter are available.

  • Scale to Fit : To scale the page to the device.
  • Resize to Fit: To have the Block size adapt to the content (of course the Block needs to be in a Layout allowing it to change its size).

Although simple, having a URL within a webview is very powerful.

We have another example app Survey, using gDoc which uses gDoc as a back end service to create a survey then display the mobile page generated by Google.

Surely one of the easiest way to create a survey in an app!


Learn More

- Survey, using gDoc

- JavaScript & HTML5

- Introduction to Layouts