Difference between revisions of "Phonegap Healthcare Adapter Plugin Implementation"
Cwdesautels (talk | contribs) |
Cwdesautels (talk | contribs) |
||
Line 6: | Line 6: | ||
: ''{{Main|Mobile Medical Device Integration}}'' | : ''{{Main|Mobile Medical Device Integration}}'' | ||
+ | |||
+ | == Project Design == | ||
+ | === Description === | ||
+ | A project layout needs to be constructed to address the following problems: | ||
+ | * Each mobile platform of Apache Cordova requires its own native implementation of the Cordova library in addition to its own version of the Cordova javascript library. | ||
+ | * Every mobile platform integrated will share a common HTML5 application. | ||
+ | === Folder Layout === | ||
+ | -- Project Root -- | ||
+ | : |-- cordova | ||
+ | :: |-- android | ||
+ | ::: \-- cordova-2.0.0.js | ||
+ | :: \-- ios | ||
+ | ::: \-- cordova-2.0.0.js | ||
+ | : |-- www | ||
+ | :: |-- index.html | ||
+ | :: |-- js | ||
+ | :: |-- css | ||
+ | :: \-- img | ||
+ | : |-- ios | ||
+ | :: |-- cordova | ||
+ | ::: \-- '''''Native library files''''' | ||
+ | :: |-- DevicePlugin | ||
+ | ::: \-- '''''Native implementation files''''' | ||
+ | :: \-- DevicePlugin.xcodeproj | ||
+ | : \-- android | ||
+ | :: |-- .project | ||
+ | :: |-- libs | ||
+ | ::: \-- '''''Native library files''''' | ||
+ | :: \-- src | ||
+ | ::: \-- '''''Native implementation files''''' | ||
+ | === Explanation === | ||
+ | * cordova subfolder under root contains the different Cordova library files required. | ||
+ | * www subfolder under root contains the shared HTML5 application for all mobile platforms to utilize. | ||
+ | * Each mobile platform will have its own project directory to contain any native requirements. | ||
+ | * Each mobile platform must link to its respective Cordova Javascript library and link to the shared HTML5 application. |
Revision as of 14:28, 24 August 2012
NexJ Medical Peripheral Mobile Adapter Will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth peripherals.
- Main article: Mobile Medical Device Integration
Project Design
Description
A project layout needs to be constructed to address the following problems:
- Each mobile platform of Apache Cordova requires its own native implementation of the Cordova library in addition to its own version of the Cordova javascript library.
- Every mobile platform integrated will share a common HTML5 application.
Folder Layout
-- Project Root --
- |-- cordova
- |-- android
- \-- cordova-2.0.0.js
- \-- ios
- \-- cordova-2.0.0.js
- |-- android
- |-- www
- |-- index.html
- |-- js
- |-- css
- \-- img
- |-- ios
- |-- cordova
- \-- Native library files
- |-- DevicePlugin
- \-- Native implementation files
- \-- DevicePlugin.xcodeproj
- |-- cordova
- \-- android
- |-- .project
- |-- libs
- \-- Native library files
- \-- src
- \-- Native implementation files
Explanation
- cordova subfolder under root contains the different Cordova library files required.
- www subfolder under root contains the shared HTML5 application for all mobile platforms to utilize.
- Each mobile platform will have its own project directory to contain any native requirements.
- Each mobile platform must link to its respective Cordova Javascript library and link to the shared HTML5 application.