UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Privileged ICE contacts and medical information available on lockscreen [WORK IN PROGRESS]

    Scheduled Pinned Locked Moved OS
    contactslock screenmedicalrequestice
    161 Posts 19 Posters 79.3k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • B Offline
        BigB
        last edited by BigB

        @3T_Ed Thank You for support, links, ideas I mean continuing thread πŸ™‚

        So I created simple layout concept. Don't look at colors, background etc. It's just first quick idea.

        On first Image I modified my lock screen screenshot by adding button under the circle. This button should open emergency screen after double click (second attached image)
        lockscreen.png

        Button should be visible but not aggressive looking. Background of it may be transparent, borders may be thin and writing regular. (I left button there because It is the fastest way to get needed information and common phones can be unlocked by swipe-up not like UT devices and in stress it may cause problems)

        On second image I created simple emergency screen layout

        emergency-screen.png

        On top we have ICE contacts. On bottom more information about owner.

        In my opinion, on android, there are too many steps to get needed information, so that's why I simplified it.

        Please write Your ideas, I'm only a human and probably I forgot about adding something. πŸ˜‰

        3 1 Reply Last reply Reply Quote 2
        • 3 Offline
          3T_Ed @BigB
          last edited by

          @BigB
          I see you like the PF 'dark' theme 😎 Good one!

          Agreed that the button does not have to be overly exposed. If the user could upload his/her own image or logo it's up to the user, however I think it should be the ICE logo by default as that's the first help services would be looking for.

          Your setup would be the bare minimum I guess. Some extra data could be vital like height+weight for getting a specific dose of medicine, but I suppose we can sort the necessities out (insurance number, physician, et cetera) once a dev is willing to implement the ICE feature in the current lockscreen/launcher/app. I'm sure we should be able to have all fields compiled in categories within a few hours, especially since there are many examples of similar features on other platforms.

          Critics are the true Positives | OnePlus 3T, Lumia 950

          1 Reply Last reply Reply Quote 1
          • B Offline
            BigB
            last edited by

            @3T_Ed That's right I like Pink Floyd πŸ™‚ Their music and themes are the best!

            Going back to the main topic: yes, those mentioned are base information. Actually I copied these fields from LOS17 ICE screen.
            I agree there should be as many fields as it's possible but of course with some priority.

            How about creating a list of things we want include, in first post? (that I'm able to edit)
            On top there will be things most needed.

            If I understand correctly it might not be a problem to get this feature in close future because It's already done on other platforms.
            I'm happy to hear that! πŸ™‚

            1 Reply Last reply Reply Quote 0
            • S Offline
              syper
              last edited by

              Everything is doable! and this function seems simple to implement, it would be necessary that I have a little time ...

              In any case the idea interests me.

              And with your links I understand better (I am French so English is a bit complicated especially with the word "ICE")

              dobeyD flohackF 2 Replies Last reply Reply Quote 2
              • 3 Offline
                3T_Ed
                last edited by 3T_Ed

                @syper

                Thank you for your responsiveness and willingness to think along. It's great to hear this feature can be implemented. I'm well aware most development is voluntary and is being done in spare time, your effort to enable an ICE feature to UT is highly appreciated. If I would have any skills in this department I'd loved to develop this feature, which I think is a must for every user - be it with medical issues or not, one should have it on the phone from a responsibility point of view.

                Would you be okay with us setting up a draft in this thread? It could give us a good insight of possible options and limitations for you to get an overview before implementing it

                Proposed draft:

                1. parameters
                2. front-end: structure/lay out (simplicity is key)
                3. back-end: structure/lay out
                4. usability and possible opportunities of ICE
                5. must have/nice to have features
                6. list of (optional) data fields
                7. discussion on privacy/minimize app permissions

                If there's any consensus on (any of) the points above @BigB can have that edited in his original post as an overview for anyone to see and for those who want to contribute.

                PS.
                no English native here either, it does not matter as long as we can all contribute to improving the UT experience

                Critics are the true Positives | OnePlus 3T, Lumia 950

                1 Reply Last reply Reply Quote 0
                • S Offline
                  syper
                  last edited by

                  @3T_Ed
                  indeed if a procedure is given, it will advance the project faster ...

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    theare27
                    last edited by

                    On Open Store there is an App called Circle Message - you can use that to put a ICE message with a phone number in the circle

                    They'd have to copy the number to their own phone I guess, but it's better them nothing

                    Top tip, set it early in the morning as it only seems to show up onwards from the time of day you initially set up

                    dobeyD 3 2 Replies Last reply Reply Quote 0
                    • dobeyD Offline
                      dobey @theare27
                      last edited by

                      @theare27 They'd also have to know to double-tap on the infographics to switch what is displayed to get to that item. So not really a feasible solution in many emergency conditions.

                      T 1 Reply Last reply Reply Quote 0
                      • dobeyD Offline
                        dobey @syper
                        last edited by

                        @syper said in [Request] Privileged ICE contacts available on lockscreen + medical information:

                        (I am French so English is a bit complicated especially with the word "ICE")

                        I think we should avoid using this acronym, as in the US it is also the acronym for an arm of the DHS which is going around and collecting immigrants and detaining them, in a grave humanitarian situation.

                        1 Reply Last reply Reply Quote 2
                        • T Offline
                          theare27 @dobey
                          last edited by

                          @dobey messages set with that app seems to take priority and is the default one displayed

                          1 Reply Last reply Reply Quote 1
                          • 3 Offline
                            3T_Ed @theare27
                            last edited by

                            @theare27 said in [Request] Privileged ICE contacts available on lockscreen + medical information:

                            On Open Store there is an App called Circle Message - you can use that to put a ICE message with a phone number in the circle

                            Unfortunately that app doesn't work when using an alternative launcher (like Launcher Modular)

                            Critics are the true Positives | OnePlus 3T, Lumia 950

                            1 Reply Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @syper
                              last edited by

                              @syper Simple to implement? You probably never looked at the codebase of Lomiri/Unity8 ^^

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              3 S 2 Replies Last reply Reply Quote 0
                              • 3 Offline
                                3T_Ed @flohack
                                last edited by

                                @Flohack said in [Request] Privileged ICE contacts available on lockscreen + medical information:

                                @syper Simple to implement? You probably never looked at the codebase of Lomiri/Unity8 ^^

                                No doubt @syper was talking about his interest and ability in implementing such a feature in Launcher Modular in specific.

                                Critics are the true Positives | OnePlus 3T, Lumia 950

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  syper @flohack
                                  last edited by

                                  @Flohack Do you know the Launcher Modular code?
                                  It is an application that I coded with @kazord.

                                  I do not see how to modify Lomiri codes is complicated ... the hardest being to do it in Ubports rules but if I do not follow these rules in 30 minutes the application would be coded.

                                  flohackF 1 Reply Last reply Reply Quote 0
                                  • flohackF Offline
                                    flohack @syper
                                    last edited by

                                    @syper The problem is make something accessible on the lock screen. Launcher Modular is not authoritative for the lock screen, and you need to hook into that somehow. Thats basically that you need to design an API for that, and then probably also secure it with a user permission to allow or disallow that stuff.

                                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                    1 Reply Last reply Reply Quote 1
                                    • 3 Offline
                                      3T_Ed
                                      last edited by 3T_Ed

                                      Regardless of who's going to implement an emergency feature or what it will be called (ICE/SOS/etc.) I believe it is a very welcome and an important addition to our UT devices and therefore I suggest to continue to get this thread going, inviting everyone to give their input and feedback on how to get this feature materialized. Any help and discussion is appreciated. By going through this excercise at least we'll have a well thought of overview for whomever is willing and able to develop it.

                                      Critics are the true Positives | OnePlus 3T, Lumia 950

                                      1 Reply Last reply Reply Quote 1
                                      • B Offline
                                        BigB
                                        last edited by

                                        I customized first post to be a summary for our ideas.
                                        so call me up to update or do it by yourself if you are moderator. πŸ˜‰

                                        1 Reply Last reply Reply Quote 0
                                        • 3 Offline
                                          3T_Ed
                                          last edited by 3T_Ed

                                          Please find below my initial input

                                          #1. parameters

                                          • open source UT
                                          • Armor/confined (lowering treshold for installing)
                                          • basic feature with minimal data permissions
                                          • extensions (opt-in) for geolocation, QR-code, etc

                                          #2. Front-end: structure/lay-out
                                          a. lockscreen: emergency call button + medical ID button (one tab to -> b.)
                                          b. one click to Overview (basic/essentials), similar to this existing ICE app (last screenshot)
                                          c. Overview:
                                          - Tab 1. overview (current: basic medical ID with optional links to geolocation, call nearest ER, etc.)
                                          - Tab 2. owner details
                                          - Tab 3. medical condition (optional linking to Tab 6.)
                                          - Tab 4. medical history (opt-in extension)
                                          - Tab 5. relationships
                                          - Tab 6. show procedure/ (manual input or standard first aid procedure)
                                          - Tab 7. Red Cross standard guide on common first aid procedures, preferably in your own language
                                          - Tab 8. User log (logging access usage+detecting unauthorized usage)

                                          After consensus on #2., #5. and #6. a visual draft can be made.

                                          #3. back-end: structure/lay out

                                          • to be determined

                                          #4. Usability and possible opportunities
                                          By allowing more permissions

                                          • direct call emergency rooms
                                          • pinpoint the exact location for helpers to guide emergency services to that spot
                                          • QR code/NFC for emergency services
                                          • geolocation for sending out emergency text to ICE in case of falling (think diabetics, elderly people)

                                          #5. Must have/Nice to have

                                          • see #1
                                          • see data provided by @BigB

                                          #6. List of data fields
                                          Tab 1: Overview

                                          • photo (identifying owner)

                                          • name, date of birth (+age), gender

                                          • this/owner's phone number

                                          • ICE (most important + dropdown showing rest)

                                          • family doctor (name, phone number)

                                          • blood type

                                          • height + weight

                                          • allergies

                                          • medication

                                          • medical condition(s) - clickable to Tab 3.

                                          • Organ donor

                                          Tab 2. Owner details

                                          • full name

                                          • call name

                                          • address

                                          • phone needed

                                          • important notes (like children nearby - extra ambulance needed)

                                          • relationships (clickable -> showing Tab 5)

                                          optional by opt-in:

                                          • insurance data
                                          • car data + nearest servicepoint
                                          • upload organ donor registration

                                          Tab 3. medical condition(s) details

                                          • detailed description (bullet points of each separate condition + dropdown for description)
                                          • linking to Tab 7. to show procedure

                                          Tab 4. Medical history (only by privacy opt-in/extended permissions!!)

                                          • detailed history health issues
                                          • detailed history medication + dose
                                          • upload medical/dentist/etc. records
                                          • upload x-rays
                                          • upload donor registration

                                          Tab 5. Relationships (only by privacy opt-in/extended permissions!!)

                                          • status (married/single/divorced)
                                          • name spouse + phone number(s)
                                          • children (names+date of bidefault+phone numbers)
                                          • address (same as owner by default)
                                          • next of kin (in case of emergency if it involves family)

                                          Tab 6. first aid procedure

                                          • description by owner how to respond/act in case of known issue x,y,z

                                          • show general procedure in case of medical issue according to first aid guide (direct link)

                                          • show first aid guide Red Cross + language selection (default: country of address)

                                          Tab 7. user log (only by privacy opt-in/extended permissions)

                                          • registration times of use + how long
                                          • optional by opt-in: take picture of user (getting image of helper to identify/thank him/her later or identifiable abuser
                                          • registration for doctor to determine history

                                          Critics are the true Positives | OnePlus 3T, Lumia 950

                                          flohackF 1 Reply Last reply Reply Quote 0
                                          • flohackF Offline
                                            flohack @3T_Ed
                                            last edited by

                                            @3T_Ed NFC is currently not an available option in UT, the API is not implemented down to the Android layer. Just saying.

                                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                            3 1 Reply Last reply Reply Quote 1
                                            • J Offline
                                              joachimvda
                                              last edited by

                                              I use use the "circle message" app for this. The problem though is that that tthis is just one of the many possible circle messages and I don't know how to force which one is displayed (it seems to change outside of my will sometimes).

                                              1 Reply Last reply Reply Quote 1
                                              • First post
                                                Last post