Allowing android in sample

Allows for Android to work with the sample, and also simplifies the
passing of URLs into the webView object from the sample script.