Hi all,
I created a simple help system for my apps and have packaged it into a free class (DOHelp) and demo app.
It lets you open a help dialog showing your content as standard HTML pages (local or hosted on a web server). The content is shown in a webview, with basic browser controls in its titlebar. The user can then browse your interlinked help pages.
To use this class:
Feedback much appreciated. Thanks!
Updated to version 1.2
I created a simple help system for my apps and have packaged it into a free class (DOHelp) and demo app.
It lets you open a help dialog showing your content as standard HTML pages (local or hosted on a web server). The content is shown in a webview, with basic browser controls in its titlebar. The user can then browse your interlinked help pages.
To use this class:
- Add the DOHelp class (DOHelp.bas) to your B4A project.
- Add the DOHelp.bal layout file to your Files folder.
- Tick these internal libraries in your project:
- Archiver (to expand your zip file of HTML/CSS/JS files to a folder on the device)
- WebViewExtras2 (to set up the webview properly)
- XUI (to get a proper URI for the web pages) - Prepare your help files in a folder and zip them up (without their parent folder), then put that zip file in your Files folder.
- In your app, create a DOHelp instance and call its Show method.
- You can set the specific page to start on.
- You can also set a light or dark theme if you wish (handled by your CSS).
- It shows a dialog with basic browser controls and your specified help page.
Feedback much appreciated. Thanks!
Updated to version 1.2
Attachments
Last edited: