0

I have an Orange pi 2g-IoT board with a 3.97 in TFT touch screen (the whole thing is a set)

One of the provided OS images for this board is stock Android 4.4 (at least this is what it claims, the UI does look like it is probably based on 4.4, but I am not sure whether/what kind of specific modifications the manufacturer has made)

The LCD touch detection is very flaky (sometimes works and sometimes doesn't, works consistently on some GUI components but doesn't on others, etc, see stackoverflow question about it here)

The user manual that comes with the board doesn't say anything about calibration, but I think some kind of calibration is needed. I had similar problems with the touch screen of a raspberry pi board that I had previously worked on, and it worked perfectly after calibrating the screen using the provided software, so I'm assuming that's what I need to do here as well. The board manufacturer is not very helpful with software support, I'm on my own regarding making this work

Is there anything like a generic LCD calibration app for android? I see that there are lots of apps claiming to calibrate the screen if I do a quick playstore search (never used any such app myself). So is that a real thing? How do such apps handle different phone models? I can't use google playstore on this board but I can connect to it using ADB and it has root, so I am ok with installing an apk through ADB.

After some random poking around I was able to get a preinstalled app to run on the board which shows LCD screen parameters. Here's part of what this app shows:

enter image description here

Is there any way to calibrate this touch screen, or any way to make my own calibration app? I can try and get more screenshots from this app pictured above, if it will be helpful.

user17915
  • 381
  • 6
  • 21
  • Extra question: what does "soft-keys: false" mean above? – user17915 Oct 20 '21 at 10:57
  • Soft-keys are the navigation button on the bottom that Android 4.x device can have (as shown here: https://android.stackexchange.com/q/32697/2241). They can be implemented in software (black bar with button on the bottom) or in hardware if the device has special hardware buttons outside of the display. – Robert Oct 20 '21 at 11:19
  • @Robert the screen has the triangle, circle and square symbols at the bottom (can be seen in the Aliexpress link above) but as far as I can tell they don't do anything. Does the "soft-keys: false" here mean I won't be able to get them to work on this screen then? – user17915 Oct 20 '21 at 11:21
  • soft-keys; false just means that the soft keys are disabled in the current OS configuration. Just use your favorite search engine and search for android enable soft-keys and you will find a lot of older posts explain how to activate soft-keys. – Robert Oct 20 '21 at 11:30
  • I can't say for Android-based IoT-related software, but AFAIK there's no way to resize the touchscreen area on Android (that's a physical hardware issue, and if there was, I'd hardly believe there's no such answer to the existing questions about broken touchscreen). The usual workaround is to resize the screen area using adb shell wm overscan instead (ref: Resize screen for Dead touch zone. – Andrew T. Oct 20 '21 at 17:41

0 Answers0