Difference between revisions of "Phonegap Healthcare Adapter Plugin Implementation"

From CDOT Wiki
Jump to: navigation, search
(Explanation)
 
Line 1: Line 1:
 +
{{Admon/obsolete}}
 +
 
[[Category: NexJ_Express]]
 
[[Category: NexJ_Express]]
 
[[category: NexJ Express PhoneGap]]
 
[[category: NexJ Express PhoneGap]]

Latest revision as of 19:36, 26 January 2014

Important.png
This page may be obsolete.
It contains historical information.

NexJ Medical Peripheral Mobile Adapter Will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth peripherals.

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.