[BJv2, dev, help appreciated] Turn "pattern launcher" into screen lock for bangle v2? #3291
Replies: 5 comments
-
Posted at 2023-10-15 by ccchan indeed if the bangle system could provide a setting for the above |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-15 by ccchan will need to try later, not sure if need to add back Bangle.CLOCK=1 for it. 'clock' - called for clocks. Sets Bangle.CLOCK=1 and allows a button to start the launcher |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-15 by ccchan more info to read: Bangle.setUI({ |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-15 by ccchan ps: may simply swap any clock face's last part with this code: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-16 by @gfwilliams If you want to replace |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-15 by ccchan
hi,
remember in android before v4,
the ROMs are unencrypted, and the data is protected by the screen lock.
Any direct reading from the ICs will have data leak.
I will say that's ok for a new, immature system.
currenly,
bangle v2, mostly due to cpu power, ram, storage, is also not fully encrypted,
and thus the ICs could be read.
however having a screen lock will be the best choice at the moment.
i myself playing around with "pattern launcher":
on the clock we swipe a pattern, and if correct, we'll enter the launcher,
if incorrect or not detected, nothing happens.
however,
this is not the moment i can touch the recovery thing. (3)
and (2) is safe.
i wanna deal with (1)
from here:
https://www.espruino.com/Bangle.js+Clock
the "press BTN1 go to launcher" is written into the clock (i use Anton clock +).
so i simply have to fork / modify Anton Clock +, and remove this line, then i think this will set it?
Thanks
ps would be nice to see under-screen finger print reader for bj v3 just it may be too luxury.
would be nice to use finger print with NFC for more IDENTITY thing
ref: from https://www.espruino.com/Bangle.js+Clock
Extra Clock Features⇠
We now have something that tells the time, but we need to add a few extra bits before we can make this a clock face:
BTN2 to start the launcher⇠
Every clock needs to be able to start the launcher, and the default for this is the middle button. All you need to do is add this to the end of the clock code (not in a function):
// Show launcher when middle button pressed
Bangle.setUI("clock");
Note: In Bangle.js firmwares before 2v08, apps used the following code to explicitly show the launcher when BTN2 is pressed: setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });. Using Bangle.setUI allows users to install different apps which start the launcher (or other apps) with different functionality, independent of the clock face.
tag
#bangle.js #v2
Beta Was this translation helpful? Give feedback.
All reactions