
15 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
Chrome.manifest
Meta information about the extension
Extension.xul
Has information about the core js of the Extension
8.2–Extension Installation
Extensions are packaged and distributed in ZIP files with the XPI file extension.
Zip all the files in the folder.
Add .xpi extension for the zipped folder.
1. Open the Mozilla Firefox browser and navigate to Tools > Add-ons > Extension tab.
2. Click on “Tools for all add-ons” and select “install Add-on from file…” option.
3. Browse for .xpi file or .zip file and click on Install Now button
4. After installation, restart the browser.
8.3 – Invocation of Native Library from Extension
The core component of the ePad-vision SDK is developed as a native library and Firefox uses JS-
Ctypes framework for invocation and marshalling and un-marshalling data between the JavaScript and
native library.
content FirefoxExtension content/
overlay chrome://browser/content/browser.xul chrome://FirefoxExtension/content/FireFoxJSON.xul
locale FirefoxExtension en-US locale/en-US/
skin FirefoxExtension classic/1.0 skin/
<!DOCTYPE JSON SYSTEM "chrome://JSON/locale/overlay.dtd">
<overlay id="FireFoxJSON" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="FireFoxJSON.js"/>
</overlay>
Comentários a estes Manuais