Questions tagged [touchscreen]

A touchscreen is an electronic visual display that can detect the presence and location of a touch within the display area. (Wikipedia)

A touchscreen is an electronic visual display that can detect the presence and location of a touch within the display area. Wikipedia

Newer touchscreen electronics are generally capacitive whereas older less expensive designs are resistive. Resistive screens need physical contact and are more prone to wear.

See also:

  • for issues in programming touch interfaces.
  • for issues with multiple touch interfaces.
  • for question about different finger/stylus motion in a UI.
  • for question about using the touch hardware to recognize a gesture.
800 questions
9
votes
1 answer

Programming a touch screen application with SWING

I would like to know what events my buttons in the UI of my application should have listen to? To mouse click? And what about the pressing and releasing events? Are they the same while clicking via touch screen? Thanks, Tomer
tomericco
  • 1,544
  • 3
  • 19
  • 30
9
votes
1 answer

Triggering the ":active" pseudo-class on a touchscreen

I'm currently developing a JavaScript application which will be deployed on a touchscreen kiosk running Chrome in kiosk mode. I've noticed that when I use a mouse to click the buttons on the interface, the styles applied by the ":active" pseudo…
Nick Boyce
  • 295
  • 5
  • 11
9
votes
3 answers

How to resize view when touchscreen keyboard is visible on Android with Unity?

In Unity I can't control the touchscreen keyboard. TouchScreenKeyboard class has only one parameters for Android. if(TouchScreenKeyboard.visible) { float keyboardHeight = TouchScreenKeyboard.area.height; // will resize the view here! But this…
Çağatay Kaya
  • 417
  • 1
  • 6
  • 19
9
votes
2 answers

Is it possible to click a Button without ever losing focus on a TextBox?

I am trying to develop a touchscreen keyboard control in a C# WPF project that will be visible when a TextBox gets focus and is hidden when the TextBox loses focus. The projects I have seen for touchscreen keyboards have accomplished this by…
Ben McIntosh
  • 1,532
  • 3
  • 20
  • 29
8
votes
1 answer

Detecting if keys are available in onscreen keyboard of mobile device

I'm adding some mobile usability optimisations to our site. As part of this I am tweaking the type attribute of textfields, to give the user the best input tools for the expected data type. One issue I have come up against in touchscreen mobile…
Dan
  • 81
  • 2
8
votes
2 answers

Using TouchScreens for game control

I'm working on my first video game for the Android platform as a bit of a nights and weekends project. It is coming along nicely, but I am very unhappy with the control sensativity. In this game, you move an object left and right on the screen. On…
FlySwat
  • 172,459
  • 74
  • 246
  • 311
8
votes
3 answers

Drawing "drawables" to a canvas in dp units

I'm trying to figure out if there is a way to draw bitmaps to the canvas in dp units instead of pixels. For example: the following code scales the drawable to 100 * 100 px. How can I instead change it do 100 * 100 dp? int lengthPos = 10; int…
cody
  • 735
  • 3
  • 11
  • 19
8
votes
2 answers

How to programmatically disable edge swipe gesture of the windows 10 tablet screen?

Tried both programmatically and manually modify the registry for both DisableCharmsHint and DisableTLcorner to 1 under EdgeUI of immersiveShell (to disable touch screen swipe edges), after restart nothing happens. Just want to disable the swipe from…
vims liu
  • 643
  • 1
  • 9
  • 20
8
votes
2 answers

How do I tell whether a browser is on a touchscreen device with JavaScript?

I know this is a bit of perennial question, but here goes: I want to know whether the device my site is being accessed with is a touchscreen. That means phones and iPads, of course, which are individually detectable, but also other touchscreens that…
Trevor Burnham
  • 76,828
  • 33
  • 160
  • 196
8
votes
1 answer

Disable Chrome paste menu on text inputs while on a touch screen

How to disable this annoying contextmenu in chrome while on a touch screen. This pops up on selection/on long tap of any input while i have some text copied. Am developing an app using CEFSharp (Chromium Embedded Framework) and its going to be…
8
votes
2 answers

Can iPad/iPhone Touch Points be Wrong Due to Calibration?

I have an iPad application that uses the whole screen (that is, UIStatusBarHidden is set true in the Info.plist file). The main window's and main view's frames are set to (0, 0, 768, 1024). The main view has multitouch enabled. The view controller…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
8
votes
3 answers

Android - How do I get raw touch screen information?

I'm working on a painting application for Android and I'd like to use raw data from the device's touch screen to adjust the user's paint brush as they draw. I've seen other apps for Android (iSteam, for example) where the size of the brush is based…
Ben Gotow
  • 14,805
  • 3
  • 42
  • 47
8
votes
3 answers

Longpress / longclick event support / plugin in jQuery

I'm working on a website which requires mouseover menu's. I would not recommend mouseover menu's from an accessibility point of view, but it's pretty easy to implement using jQuery. The problem: we also need to support touchscreen devices (tablets).…
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
7
votes
2 answers

Stop the touchstart performing too quick when scrolling

I'm trying to figure out how to solve the tapped class being assigned to the elements when scrolling, but it's taking effect too quick which I need to delay it a bit when it's actually touched instead of touched while scrolling, this is my code of…
MacMac
  • 34,294
  • 55
  • 151
  • 222
7
votes
1 answer

Replacing Touchscreen driver in Android Kernel

I'm adapting a Gingerbread kernel for my custom board. I'm trying to replace a resistive touch screen that uses an on-chip ADC controller (S5PV210 processor from Samsung). In my design, I need a capacitive controller supported by eGalaxyTouch…
1 2
3
53 54