WebView
 Display Web Page in an app



Overview

How to display any web URL into your app.

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

It display a URL, in our example opentable.com, 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