mirror of https://github.com/espruino/BangleApps
Initial implementation to enable custom text in the medical alert widget Possible future updates could include better editing UI instead of raw json, more information eg. medications, ability to set info from other apps, etc. Signed-off-by: James Taylor <jt-git@nti.me.uk> |
||
---|---|---|
.. | ||
ChangeLog | ||
README.md | ||
app-icon.js | ||
app.js | ||
app.png | ||
interface.html | ||
lib.js | ||
medicalinfo.json | ||
metadata.json | ||
screenshot_light.png |
README.md
Medical Information
This app displays basic medical information, and provides a common way to set up the medicalinfo.json
file, which other apps can use if required.
Medical information JSON file
When the app is loaded from the app loader, a file named medicalinfo.json
is loaded along with the javascript etc.
The file has the following contents:
{
"bloodType": "",
"height": "",
"weight": "",
"medicalAlert": [ "" ]
}
Medical information editor
Clicking on the download icon of Medical Information
in the app loader invokes the editor.
The editor downloads and displays the current medicalinfo.json
file, which can then be edited.
The edited medicalinfo.json
file is uploaded to the Bangle by clicking the Upload
button.
Creator
James Taylor (jt-nti)