Open main menu

CDOT Wiki β

Changes

Phonegap Healthcare Adapter

1,325 bytes added, 20:51, 26 January 2014
no edit summary
[[category: NexJ Current Projects]][[category: NexJ Express SQLite]]{{Admon/obsolete}}
<big><big> Phonegap Healthcare Adapter for NexJ </big></big>
''''' NexJ Medical Peripheral Mobile Adapter '''''
will be designed to enable NexJ's Mobile Healthcare solutions to interact with Bluetooth peripherals.
== Project Goal ==Develop an adapter to enable NexJ: ''s Mobile {{See Also|Phonegap Healthcare Adapter Questions|Phonegap Healthcare solutions to interact with Bluetooth peripherals.Adapter Backlog}}''<!--=== Software Design Document ===[https://docs.google.com/document/d/1aX9YqdXcABKmxegTcovyZXqWYp_9NnPmke6QU8jfiBU/edit?hl=en_US Read only]-->''{{Category See Also|NexJ Express Research}}''
{{TOC limit}}
 
== Contributors ==
=== Contributors ===
* [[User:Cwdesautels|Carl Desautels]]
* [[User:Wei.song | Wei Song]]
== Problem ==
 
[[File:NexjMobile.png|thumb|right]]
 
NexJ's mobile health solution requires its smartphone health coach application to have the ability to read medical measurement data from Bluetooth-capable devices, The devices included in the initial project proposal are as follows: blood pressure device, glucose level measuring device and a weight measuring device.
 
The health coach application will be designed to use PhoneGap, a rising technology that blurs the line between mobile operating systems. Implementing native Bluetooth adapters becomes only part of the solution. The health coach application will interact with a unified API in JavaScript to retrieve data from Bluetooth-capable medical peripherals.
 
The unified JavaScript API will be developed to utilize PhoneGap's JavaScript API to make native code calls. These native calls will focus on a medical Bluetooth device adapter which also must be implemented. This Bluetooth adapter will be extended for each supported measuring device and implemented on each supported mobile operating system.
 
== Project Scope ==
 
* Not responsible for communication with the server.
* Responsible for communication with Bluetooth peripherals.
 
== Supported Versions ==
=== Supported Versions ===
* [http://phonegap.com/download PhoneGap] 2.0.0, released July 20, 2012
==== [http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS OSX] ==== 
* Xcode 4.3 +
* OSX 10.7 +
* Bluetooth SPP capable
==== [http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android Android] ==== 
* Eclipse 3.6.2 +
* ADT Latest
* Bluetooth SPP capable
== [[Phonegap_Healthcare_Adapter_Backlog|Project Status]] ==
 
* '''Current Sprint''' : [[Phonegap_Healthcare_Adapter_Backlog#Investigation|Investigation]]
 
== [[:Category:NexJ_Express_Research|Research]] ==
 
* Bluetooth communication outline: [[Phonegap_Healthcare_Adapter_Bluetooth_Spec|Spec]]
* Bluetooth native implementation: [[Phonegap_Healthcare_Adapter_Bluetooth_Implementation|Details]]
* Project Design: [[Phonegap_Healthcare_Adapter_Design|Design Page]]
* Phonegap cross platform plugin solution: [[Phonegap_Healthcare_Adapter_Plugin_Implementation|Tutorial]]
 
== Project Repository ==
== Project Status==* '''Current Sprint''' https: [[Phonegap_Healthcare_Adapter#Investigation | Investigation]]//bitbucket.org/cwdesautels/nexj-mobile-bluetooth-adapter
=== Mercurical HowTo ===
== Project Backlog ===== Investigation ======= iOS ====* Bluetooth can work on simulators* Deploying to devices, requires enrollment in the [https://developer.applemozilla.comorg/programsen-US/iosdocs/ developer programMercurial Mozilla Mercurial Docs]* Understand Objective C* Understand iOS best practice development* Understand iOS PhoneGap plugin best practices==== Android ====* Bluetooth does not work on simulators* Understand ADK best practice development* Understand ADK PhoneGap plugin best practices=== The Problem ===* Define the problem this project is solving=== PhoneGap API ===* Design a unified API in javascript that will allow the NexJ application to interact with bluetooth devices* Define a project architecture that facilitates multiple device compatibility=== Blood Pressure Device ======= iOS ====* Create native bluetooth adapter for this device==== Android ====* Create native bluetooth adapter for this device=== Glucose Device ======= iOS ====* Extend native bluetooth adapter for this device==== Android ====* Extend native bluetooth adapter for this device=== Weight Scale Device ======= iOS ====* Extend native bluetooth adapter for this device==== Android ====* Extend native bluetooth adapter for this device
=== Branching Rules ===
== Project Repository ==* Nobody commits to ''default''. ** ''default'' is the master branch we will use to generate submissions back to NexJ* Nobody commits to ''dev''.** ''dev'' is the branch were the latest completed features and bug fixes come together for testing* Keep branches relevant.** If the ''focus'' of what your coding changes, make a new branch* Best practice is to branch off of ''dev''.** Exceptional scenarios call for branching off of default or other branches, you will not encounter them* Branch names in lowercase.* Hyphenate branch names if required.** ''bluetooth-plugin''* Branch names must either be:** A bitbucket issue, example: ''issue-14 OR bug-14''** A feature name, example: ''cryptography-bug''
== Resources ==
* Research
** [[:Category:NexJ_Express_Research|Notes]]
* Dowloads:
** [http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS PhonegapPhoneGap: Getting Started with iOs]** [http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android PhonegapPhoneGap: Getting Started with Android]
* Documentation:
** Bluetooth Developer Portal:
*** [http://developer.bluetooth.org/KnowledgeCenter/Pages/White-Papers.aspx Bluetooth White papers]
*** [http://developer.bluetooth.org/DevelopmentResources/Pages/Introduction-to-Bluetooth-Application-Development.aspx Development Resources]
** iOS Developer Resource
*** [http://developer.apple.com/library/ios/#technotes/tn2295/_index.html Bluetooth on Simulators]
*** [http://hiediutley.com/2011/03/30/phonegap-tutorial-series-4-using-a-third-party-plugin/ PhoneGap Tutorial]