EPadLink ePad Vision Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 27
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
13 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
8.0 Firefox Integration
JS-Ctypes native library (FireFoxExtension.dll or libFireFoxExtension.so) is the critical core component
of the ePad-vision SDK and Firefox allows access to the native library in web pages via extensions.
Integration into a web page requires a background extension that acts as a bridge between the web
page and the native messaging host application.
Normally the native library can be packaged and installed along with the extension.
8.1 Creating an Extension
A Firefox Extension is normally implemented as a JavaScript file and coupled with a few other
supporting files qualifies to be an extension for Firefox
8.1.1 Major components of Extension.
chrome.manifest Registers the extension with engine.
install.rdf Information about the extension
content/FireFoxJSON.js core JavaScript file
Refer to SDK’s Sample/FirefoxExtension folder for further info on structure and contents of the
extension.
Here is a typical directory structure of the extension:
install.rdf
chrome.manifest
\locale\en-us\translations.dtd
\content\FireFoxJSON.js
\content\FireFoxJSON.xul
\default\preferences\prefs.js
Install.rdf :
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 26 27

Comentarios a estos manuales

Sin comentarios