Custom URL

buzztouch plugin: Custom URL
Version: v1.8
Loads a URL into a custom web-view. Useful for displaying online content. Content is NOT available offline, it's designed to refresh when the screen loads.
works on iOS iOS
works on Android Android
Developer Info
Latest Review
Pointerfarcat | 01/23/14 (v1.7)
An essential plugin! Works as expected.
More Information
This displays web content provided by a URL. Webpages load in a built in browser
and refresh each time intentionally. Content is not available if the device is offline.
Use the advanced settings (document behavior) to customize how the built-in browser

If you load webpages that you didn't author you will likely not get the results you're
looking for. In the case of Apple's App Store, you're app will get rejected
if it's nothing more than a bunch of webpages attached to menu's and buttons. Design your
content for mobile, use screens that make content available offline, add some style. This
type of plugin is useful in lots of circumstances but it's never a good idea to overuse
web-content that doesn't offer end-users benefits beyond what their built in browser's
already do.

iOS Project
1 Objective-C class (a total of 2 files) are needed.
BT_screen_customURL.m and .h

BT_screen_customURL.m is a basic UIViewController with a UIWebView to handle
the content.

Android Project
------------------------ is the Activity class that displays an Android WebView. The layout is handled by
screen_customurl.xml for the activity.

Version History
v1.8     03/11/2015
          Modifications to support Android Studio
          Modifications to support newly changed Android WebView
          Improved progress indicator (download progress)

v1.7     1/19/2014
          Updated to show iAds property on control panel (chris1)
v1.6     1/8/2014
          Updated for Buzztouch 3.0 control panels. (Chris1)
v1.3     11/10/2012
          Minor syntax changes to accomodate for Xcode 4.5 compiler warnings.
          Minor changes in .java files to accomodate for Anroid (Google) 2.2 API's compiler warnings.
          Minor UI changes in .php files for control panel.

v1.0, 1.1, 1.2 (historical versions, no change details)


Most folks use the control panel to configure the JSON data for this plugin but it's useful to
see what it may look like. This is the simplest example.


A more complex example with some advanced properties included.

     "navBarTitleText":"My Cool Page",