Hello!
I am working on a Bangle JS 2 app for tracking and monitoring a user's health.
For this, I have made a screen with three main options, i.e., Walking, Jogging, and Cycling.
I have also implemented three separate screens for walking, jogging, and cycling. Is there a way of implementing the touch screen in a manner that when we touch on a certain section of the screen it leads me to a particular section of the code?
Let's say if touch the top 1/3rd portion on the screen, it should lead me to the part of the code which has the walking sub-activity and when I touch the bottom third of the screen it leads me to the cycling sub-activity.
Basically, I wished to enquire if I could divide the screen into "parts" with different portions of the screen leading me to different options.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello!
I am working on a Bangle JS 2 app for tracking and monitoring a user's health.
For this, I have made a screen with three main options, i.e., Walking, Jogging, and Cycling.
I have also implemented three separate screens for walking, jogging, and cycling. Is there a way of implementing the touch screen in a manner that when we touch on a certain section of the screen it leads me to a particular section of the code?
Let's say if touch the top 1/3rd portion on the screen, it should lead me to the part of the code which has the walking sub-activity and when I touch the bottom third of the screen it leads me to the cycling sub-activity.
Basically, I wished to enquire if I could divide the screen into "parts" with different portions of the screen leading me to different options.
Thank you in advance!
4 Attachments