Questions tagged [multi-touch]

multi-touch refers to a touch sensing surface's (trackpad or touchscreen) ability to recognize the presence of two or more points of contact with the surface (Wikipedia)

1283 questions
66
votes
8 answers

enable/disable zoom in Android WebView

There are some methods in WebSettings related to zoom: WebSettings.setSupportZoom WebSettings.setBuiltInZoomControls I noticed they work differently on some devices. For example, on my Galaxy S pinch to zoom is enabled by default, but on LG P500…
Eugene Nacu
  • 1,613
  • 2
  • 14
  • 22
50
votes
4 answers

Android Multitouch - Possible to test in emulator?

I recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should…
Ben Gotow
  • 14,805
  • 3
  • 42
  • 47
48
votes
2 answers

Android: difference between ACTION_UP and ACTION_POINTER_UP

From the android doc alone I dont really understand the difference between ACTION_UP and ACTION_POINTER_UP. http://developer.android.com/reference/android/view/MotionEvent.html#ACTION_DOWN Basically I want to capture the event when one finger is…
clamp
  • 33,000
  • 75
  • 203
  • 299
45
votes
7 answers

pointerIndex out of range Android multitouch

I have a touch event exception that is causing my game to crash on tablets (or more specifically, honeycomb)... My game works fine on my phone and I haven't heard of this happening to anyone that isn't running Android 3.0 or higher. Here is the…
DRiFTy
  • 11,269
  • 11
  • 61
  • 77
42
votes
1 answer

iphone simulator using multi-touch problem

i know in iphone simulator to input using multi-touch, hold down the OPT key while using the mouse. will see two virtual fingertips.and move the mouse to pinch in and out. my problem is in simulator,these two fingertips will only be overlap at the…
issac
  • 1,501
  • 6
  • 22
  • 29
42
votes
19 answers

How to disable multitouch?

My app has several buttons which trigger different events. The user should NOT be able to hold down several buttons. Anyhow, holding down several buttons crashes the app. And so, I'm trying to disable multi-touch in my app. I've unchecked 'Multiple…
cannyboy
  • 24,180
  • 40
  • 146
  • 252
41
votes
9 answers

Disable or prevent multitouch in Activity

I have several Views on an Activity which a user wants to touch quickly in succession and I capture these touches using a TouchListener and handling MotionEvent.ACTION_DOWN. However, if the user is using two hands, it's very likely that the next…
cachance7
  • 903
  • 1
  • 10
  • 23
41
votes
7 answers

Preventing multiple buttons from being touched at the same time

In iOS is there anyway to prevent a UIView containing multiple buttons (siblings) from being simultaneously from being touched? For instance, two non-overlapping buttons that are side by side can be tapped at the same time with two touches.
happycodelucky
  • 991
  • 1
  • 9
  • 15
40
votes
2 answers

UIPinchGestureRecognizer position the pinched view between the two fingers

I successfully implemented a pinch a zoom of a view. However, the view doesn't position itself where I wished it to be. For the stackoverflowers with an iPad, I would like my view to be centered like on the iPad Photos.app : when you pinch&zoom on…
Thomas Joulin
  • 6,590
  • 9
  • 53
  • 88
33
votes
4 answers

How to set electron UserAgent

I need to set the UserAgent in electron to include the touch flag since I am writing the application for touch screens and it doesn't seem to auto detect that it is running on a touch screen. Any help would be nice, I already tried setting it in the…
zchrykng
  • 1,066
  • 1
  • 10
  • 20
25
votes
4 answers

Extending Functionality of Magic Mouse: Do I Need a kext?

I recently purchased a Magic Mouse. It is fantastic and full of potential. Unfortunately, it is seriously hindered by the software support. I want to fix that. I have done quite a lot of research and these are my findings regarding the event chain…
Tyler
  • 1,603
  • 13
  • 21
23
votes
8 answers

How to disable simultaneous clicks on multiple items in Jetpack Compose List / Column / Row (out of the box debounce?)

I have implemented a column of buttons in jetpack compose. We realized it is possible to click multiple items at once (with multiple fingers for example), and we would like to disable this feature. Is there an out of the box way to disable multiple…
20
votes
1 answer

Android Multitouch - Second Finger ACTION.MOVE Ignored

The following code is what I've been trying to use for multitouch. Finger one is set correctly and moves around when I drag my finger. Finger two shows up and disappears when I touch and release my finger, but it never moves around. Any idea…
Nathan Tornquist
  • 6,468
  • 10
  • 47
  • 72
20
votes
4 answers

How to test multi-touch in Android Emulator

I'm trying to use multi-touch in an Android 2.0 app. How can I simulate this with an emulator using Eclipse? I can only seem to get the mouse to do one touch at a time.
Gerry
  • 1,838
  • 5
  • 24
  • 32
20
votes
7 answers

Touches Ended not being called

I've playing around with recognizing the touches in an iOS Application, and I have this simple code - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@"%lu",(unsigned long)[touches count]); [touches…
sahmed24
  • 358
  • 2
  • 3
  • 13
1
2 3
85 86