One of the great advantages of Backbase is that it easily integrates with
third-party widgets. In this example we will demonstrate how you can combine Backbase
with the Google Gears library.
This example uses the context of a simple alarm application to showcase several
useful techniques for creating Backbase applications:
using precreated TDL components
creating TDL components from scratch
writing handlers on common events
optional interfacing to the Google Gears API
Live Example
if (!window.google || !google.gears)) {
var oInstall = bb.callMethod(bb.document, 'getElementById', ['installation']);
bb.setProperty(oInstall, 'display', 'block');
}
Install Google Gears
location.href = 'http://gears.google.com/?action=install&message=Backbase Alarm Example&return=' + location.href;
If you don't install the Google Gears software the example will still work.
However, the alarm time will not be stored when closing the browser
or navigating away from the page.
Disclaimer: This example includes optional interfacing to Google Gears
offline storage. In order for this interface to work, an external
program from Google needs to be installed. Backbase does not
support this software, recommend its installation or take
responsibility for any damage caused by installing Google Gears software.
You are strongly encouraged to read the license terms and other information
related to Google Gears, on the Google site.
Moreover, Google Gears software is in beta, and has been observed to cause
causing problems with Venkman debugger. We also noticed googleupdate.exe
being silently installed and run as service under local system account.
After uninstalling Google Gears, googleupdate.exe service is not
uninstalled but continues to run.