1
0
Fork 0
BangleApps/apps/medicalinfo
Gordon Williams 6ff61b917e Add saveFile function, and ensure it uses data: URI not blobs (because they don't work in Gadgetbridge)
Reduce duplication to make custom/interface use .saveFile where possible (avoiding Blob)
2023-09-14 12:43:38 +01:00
..
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)