To use applications developed with the Nexacro Platform, an appropriate environment must be created on the user's machine. Certain files must be downloaded to the user environment. The process of establishing this environment and downloading files is called "Distribution." Distributed files are managed automatically based upon the cache policy and are replaced with new files as necessary.
For the Nexacro Platform HTML5, applications are executed in the currently used browser environment. For this reason, applications are executed directly by downloading the necessary files from a web server.
For the Nexacro Platform Run-time, additional applications must be installed based on the execution environment that will be used. Please refer to information in this guide about the corresponding Runtime version distribution.
Distribution Overview
To run Nexacro Platform applications, you need several files. The distribution files for each execution environment are listed in the following table.
Item | Description | windows | iOS/andriod | HTML5 |
---|---|---|---|---|
Runtime Engine | Script, Memory, Rendering Process | O | △ (iOS: WebView) | X (Web browser) |
plugin | Plug-in for each browser | O | X | X |
Fremework | Integrated framework (Java Script) | O (XFrameworkLib.dll) | O | O |
Component | Component Library (Java Script) | O | O | O |
Application | Application Code (Java Script) | O | O | O |
The big difference between the Runtime version and the HTML5 version is the Runtime engine. HTML5 version directly uses frameworks, components and applications needed for a web browser. On the other hand, the Runtime version needs to separately distribute the Runtime engine appropriate to each execution environment.
Although it might seem a burden for the user to distribute the Runtime engine, the Runtime version can be used to make a connection to the existing system according to the system environment, or to use expanded functions which cannot be provided on the web browser.
The basic functions provided by Nexacro Platform for both versions are same. However, only the Runtime version supports expanded functions such as device APIs or the interconnection to external devices.
Distribution Files
This section describes each distribution in detail.
Please refer to Alias Pathfor alias paths used by the Nexacro Platform to set paths on the user's computer.
The of name of files and libraries listed herein may change depending on distribution updates.
Runtime for Windows
After distributing the Nexacro Platform Runtime engine, call applications according to their execution methods. The ontents are the same for the HTML5 version. However, with the HTML5 version, frameworks and JavaScript files are not be downloaded from the server, and instead are included in the dll format of library files and then distributed.
Item | File | Description | Location |
---|---|---|---|
Runtime Engine | v8.dll | V8 Script Engine Library | %nexacro% |
XMemLib.dll | Memory Management Library | %nexacro% | |
XBasicLib.dll | Base Libaray | %nexacro% | |
nexacrolib.dll | Platform & Render Engine Library | %nexacro% | |
nexacro.exe | Nexacro Platform Executor | %nexacro% | |
ActiveX DLL | nexacrolauncherax14.dll | Nexacro Platform Launcher | %SYSTEM32% |
nexacroax14.dll | Plug-in for each Browser | %nexacro% | |
Plugins DLL | npnexacrolauncher14.dll | Nexacro Platform Launcher | %SYSTEM32% |
npnexacro14.dll | Plug-in for each Browser | %nexacro% | |
Framework DLL | XFrameworkLib.dll | Framework API Library | %nexacro% |
XMobileApi.dll | Device API Library | %nexacro% | |
Extend DLL Files | protocol adaptor dll | Network Protocol Adaptor | %UPDATE% |
External DLL | External DLLs | %UPDATE% | |
Runtime Cache | cache.db | Runtime Cache DB | %CACHE% |
cachedfiles | Runtime Cached Data Files | %CACHE%\key_adl | |
Runtime Config Files | nexacro.xml | Runtime Execution Environment File & UserProfile | %USERAPP% |
Log Files | nexacro_xxxxx.log | Log File | %USERAPP%\Log |
Launcher Download Files | splash.png | Splash Image File | %USERAPP% |
loadingimage.png | WaitCursor Image File | %USERAPP% | |
nexacro.ico | Application Icon File | %USERAPP% | |
globalvars.dat | Global Variable List File | %USERAPP% |
File names can vary according to product versions or license policies of relevant countries.
HTML5
This distribution directly loads all of the required files on the web browsers. It performs differently depending on web browser in use.
Item | File | Description | Location |
---|---|---|---|
Execute HTML | index.html | %WEBDEPLOY PROJECT% | |
Framework JS | BasicObjs.js | %WEBDEPLOY FRAMEWORK% | |
SystemBase.js | System Utility | %WEBDEPLOY FRAMEWORK% | |
Platform.js | Platform Objects | %WEBDEPLOY FRAMEWORK% | |
CssObjs.js | Style Object | %WEBDEPLOY FRAMEWORK% | |
ErrorDefine.js | Error Information | %WEBDEPLOY FRAMEWORK% | |
Component JS | CompBase.json | Component Base Module | %WEBDEPLOY COMPONENT% |
ComComp.json | Common Component Module | %WEBDEPLOY COMPONENT% | |
Grid.json | Grid Component Module | %WEBDEPLOY COMPONENT% | |
DeviceAPI.json | DeviceAPI Module | %WEBDEPLOY COMPONENT% | |
Resource Files | waitimage.gif | WaitCursor Image File | %WEBDEPLOY RESOURCE% |
Theme File | defaulttheme.js | Deployed Theme Source | %WEBDEPLOY THEME% |
Application Files | Deployed Application Source | %WEBDEPLOY PROJECT% |
RUNTIME for iOS/Android
iOS/Android applications need separate packaging processes for the different operation systems. It generates application sources created on Nexacro Studio as archive files and creates distribution files appropriate to each operating system.
Item | File | Description | Packing |
---|---|---|---|
Android App Files | nexacro14.jar | Android Library Jar | Android App |
libnexacro14.so | Android Library SO | ||
start_android.json | Android Archive Information | ||
strings.xml | Android Locale String Information | ||
iOS App Files | nexacro14.framework | iOS Library Framework | iOS App |
start_ios.json | iOS Archive Information | ||
localizable.strings | iOS Locale String Information | ||
Execute HTML | Run.html | Run Archive | |
Framework JS | Engine Archive | ||
Component JS | Engine Archive | ||
Resource Files | loadingimage.png | Engine Archive | |
Theme File | defaulttheme.js | Theme Archive | |
Application Files | Application Archive |