Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I need some advice

I need some advice

Scheduled Pinned Locked Moved The Lounge
designcomgraphicshardwareiot
25 Posts 13 Posters 1 Views 1 Watching
  • 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.
  • J JohnDG52

    What are your target applications, or is it general-purpose?

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #16

    It's a general purpose user interface library

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    1 Reply Last reply
    0
    • H honey the codewitch

      I'm developing widgets for my User Interface library. I'm starting from almost nothing because it's embedded and I've rolled my own cross platform graphics and UI libraries. Anyway, I've developed a label, a slider, two buttons, an image control, an "svg box", and a canvas. Controls *cannot* contain other controls. Since it is a touch screen, I'm only using one "mouse button" even though it supports gestures - I'm not dealing with those, nor should they be required. The screens are typically small - commonly 320x240 or smaller. This means that text entry is not realistic. What should I develop next, preferably a few in order of ease-of-implementation:usefulness in hopefully good ratios? I was thinking a drop down list, but for reasons this is extremely complicated. I will eventually do it but meh. Scroll bars aren't very useful by themselves as touch screens usually swipe to scroll. A dial style control might be useful but I have to be very careful there for performance reasons. Any ideas?

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      R Offline
      R Offline
      Ralf Quint
      wrote on last edited by
      #17

      One thing that I have used for my IoT projects a lot is some form of slider control, either horizontally or vertically.And usually very intuitive when using touch screens...

      H 1 Reply Last reply
      0
      • R Ralf Quint

        One thing that I have used for my IoT projects a lot is some form of slider control, either horizontally or vertically.And usually very intuitive when using touch screens...

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #18

        That was the first interactive SVG** based widget that I built. :) My UI and graphics libs support SVG, and I've been using that to render the bits of my widgets because it looks nice.

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

        1 Reply Last reply
        0
        • M Marc Clifton

          Radio buttons and checkboxes. Maybe some static lists, like a bullet list or numbered list.

          Latest Articles:
          A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework

          M Offline
          M Offline
          Matt Bond
          wrote on last edited by
          #19

          I agree that radio buttons and checkboxes would be most useful.

          Bond Keep all things as simple as possible, but no simpler. -said someone, somewhere

          1 Reply Last reply
          0
          • H honey the codewitch

            There is not enough room for one of those on an IoT screen. That's why IoT widgets don't have text entry, typically relying on the user to spit bluetooth or wifi at it from a phone or PC for stuff like that.

            Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #20

            The "most common" icon is 32x32. 32x24 is also manageable (24x24 being the usual). At 320x240, that gives a potential of at least 100 keys. In other words, enough for keys, shifting, and a text box. My PC app uses (my) "standard" 48x44 for all buttons; which scales to 43 in. or a tablet. (And yes, my app also has a pop up keyboard; with a "split" option)

            "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

            H 1 Reply Last reply
            0
            • L Lost User

              The "most common" icon is 32x32. 32x24 is also manageable (24x24 being the usual). At 320x240, that gives a potential of at least 100 keys. In other words, enough for keys, shifting, and a text box. My PC app uses (my) "standard" 48x44 for all buttons; which scales to 43 in. or a tablet. (And yes, my app also has a pop up keyboard; with a "split" option)

              "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #21

              You still have to have room to touch it though. A lot of these screens are like 2.5" diagonal. I mean, it might be doable, but it would be rarely used.

              Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

              1 Reply Last reply
              0
              • H honey the codewitch

                That's an idea, but 90% of the time it would be used like text entry on a smart TV - that is to enter an SSID and wifi password and then just ride it from there. Entering passwords that way is horrible. To that end Texas Instruments developed a Bluetoothish protocol for shooting wifi creds at IoT devices from a phone and most connected chips support it. From a strictly use case scenario because of all that text entry is not common, and not nearly as useful as it would be on a PC or even a phone.

                Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                E Offline
                E Offline
                englebart
                wrote on last edited by
                #22

                There you go… Text entry with an nearby bluetooth device? Encrypted! Is there a standard bluetooth protocol for bluetooth keyboards?

                H 1 Reply Last reply
                0
                • E englebart

                  There you go… Text entry with an nearby bluetooth device? Encrypted! Is there a standard bluetooth protocol for bluetooth keyboards?

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #23

                  No there's not. Not all MCUs have BT anyway. It won't be part of my UI lib. It's out of scope.

                  Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                  E 1 Reply Last reply
                  0
                  • H honey the codewitch

                    No there's not. Not all MCUs have BT anyway. It won't be part of my UI lib. It's out of scope.

                    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                    E Offline
                    E Offline
                    englebart
                    wrote on last edited by
                    #24

                    “Out of scope” for BT Good answer. Keep the focus.

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      I'm developing widgets for my User Interface library. I'm starting from almost nothing because it's embedded and I've rolled my own cross platform graphics and UI libraries. Anyway, I've developed a label, a slider, two buttons, an image control, an "svg box", and a canvas. Controls *cannot* contain other controls. Since it is a touch screen, I'm only using one "mouse button" even though it supports gestures - I'm not dealing with those, nor should they be required. The screens are typically small - commonly 320x240 or smaller. This means that text entry is not realistic. What should I develop next, preferably a few in order of ease-of-implementation:usefulness in hopefully good ratios? I was thinking a drop down list, but for reasons this is extremely complicated. I will eventually do it but meh. Scroll bars aren't very useful by themselves as touch screens usually swipe to scroll. A dial style control might be useful but I have to be very careful there for performance reasons. Any ideas?

                      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                      A Offline
                      A Offline
                      Alister Morton
                      wrote on last edited by
                      #25

                      Maybe a slider control could be useful. Edit: I see it's already been suggested, and you already have one :)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups