HTML Pro

buzztouch plugin: HTML Pro
By: chris1
Version: v4.1
The HTML Pro plugin allows you to insert hyperlinks into HTML documents that point to Buzztouch-plugin screens in your app.
works on iOS iOS
works on Android Android
Developer Info
Latest Review
PointerTu Nguyen | 02/08/15 (v4.1)
Not work on 3.0 version on self-host.
Screenshots
More Information
The HTML Pro plugin allows you to insert hyperlinks into HTML documents that point to Buzztouch-plugin screens in your app.
Each link that should point to a Buzztouch plugin screen needs to be added to the control panel as a menu item. The control
panel will give you the hyperlink to insert into your html document. Links should be in the format:

<a href="bt-app:screenItemIdHere">text or image</a>

*******NOTE: YOU MUST BEGIN THE LINK WITH "bt-app:", FOLLOWED BY THE ITEM ID OF THE SCREEN YOU WANT TO LOAD. "bt-app:" IS CASE SENSITIVE. ANDROID APPS WILL NOT WORK WITHOUT THIS. *******

You can also use Javascript to create links. Works with HTML5, CSS, Javascript, etc! For a quick demo video, go to this link:

http://youtu.be/jOJz8lm2tEc

Also, be sure to check out the how-to document: https://www.dropbox.com/s/3kq6e0rpsp7p0cd/Using%20the%20HTML%20Pro%20plugin.pdf



Version History
------------------------
1.0 - initial release
1.1 - bug fixes
3.0 - update for 3.0 projects
3.1 - bug fix on control panel where it was not showing the proper link to use
3.2 - bug fix on Android where it was not loading screen when using local HTML docs.
3.3 - bug fix where Control Panel wouldn't let you select files from File Manager
3.4 - bug fix in Control Panel where clicking "select" on document location inserted file name not url
3.5 - added support for showing/hiding the "Email Document" and "Launch in Native Browser" buttons.
3.6 - bug fix where Control Panel was showing the wrong links to insert
3.7 - set Android toolbar items to off by default; updated code so hyperlinks use "loadScreenWithItemId" property instead of "itemId"; (1/19/14)
3.8 - Removed need for adding child items - now you can set a link to any itemId of any screen in your app and it will automatically find it. (2/8/14)
3.9 - Fixed issue where Document Behavior section was not displaying properly
4.0 - (4/26/14) Fixed issue with deprecated code causing compiler issues in API 18+ on Android projects.
4.1 - (1/8/15) Updated to handle Android 4.4. Note: All URL's must be updated to conform to new scheme.
4.2 - (1/8/17) Updated for Buzztouch Core 4.0


iOS Project
------------------------
Two files are required for the iOS plugin. These are included in the project download:
Cr_html_pro.m
Cr_html_pro.h

Android Project
------------------------
Two files are required for the Android plugin. These are included in the project download:
Cr_html_pro.java
screen_cr_html_pro.xml

SAMPLE JSON Data
------------------------
{"itemId":"78621ACB347FDD99C3851A4", "itemType":"Cr_html_pro", "itemNickname":"HTMLPro",
     "navBarTitleText":"HTMLPro", "dataURL":"http://yourdomain.org/somefile.html",
     "showBrowserBarBack":"1", "forceRefresh":"1",
"childItems":[
     {"itemId":"11", "itemType":"BT_menuItem", "loadScreenWithItemId":"111","titleText":"load screen1"},
     {"itemId":"22", "itemType":"BT_menuItem", "loadScreenWithItemId":"222","titleText":"load screen2"},
     {"itemId":"33", "itemType":"BT_menuItem", "loadScreenWithItemId":"333","titleText":"load screen3"}
]},