I went to through the FingerPaint demo from the Android SDK.
Now, I would like to add collision detection to the demo. I want collision detection to go off when the user creates a path that overlaps ...

My app's UI is made up of nested layers of ViewGroup and View in the following manner (starting with parent, then nested children):
ViewGroup A = RelativeLayout
ViewGroup B = GridLayout
ViewGroup C ...

I need a MapView, that is in a ScrollView together with a ViewPager to receive all Touch events. I'm trying to set this up so, when I drag down to the maximum (from within the ViewPager) I can use a ...

I want to move an image on finger touch. Im using relative layout for this. What will i do in ACTION_UP and ACTION_DOWN ? im using following code
i want to move visacard in relative layout on finger ...

I am using ActionMode in my application and trying to achieve such a behavior that when the user first touches the item of the ListView when already in the ActionMode the item's background changes, ...

I'm trying to make a program that create a signal base on the position where i'm touching on the screen.That means i can change every point from the horizontally line ,with my finger.
But i can't have ...

In my app I want to paint in a scene but I have a problem with primitive elements;
I tried to use a "Line" but I can't draw a line with a big size line, so I tried a "Ellipse" but if my color-swipe ...

I am having a screen in which all controls (2 text-boxes and 2 buttons) are in the centre of the screen. This looks fine in portrait mode but when I move the phone in landscape mode, the button gets ...

I am trying to implement the ParallaxHeaderViewPager like here. But instead using a KenBurnsSupportView and an ImageView as a Header i have used a FrameLayout that contains a ViewPager. My problem is ...

I'm trying to develop an app where palm resting or palm swiping is used as an input. However, after setting up a simple app that displays all touch events, I realized that when I use my palm, often ...

I'm trying to create functionality that will allow users to create a new UIView by touching a TableViewCell and then dragging the newly created UIView to another part of the screen where they can drop ...

I add a UITapGestureRecognizer:tapGesture, I want that when i click(touch) the label, klikPlay() will run its actions.
when I run the code and click/touch the label, it gives this error: unrecognized ...

For i'm trying to create a rotating wheel.
I need to be able to spin the wheel on touch (in smartphones) and on click/drag (for pc).
When spinning the wheel i need to be able to receive the rotation ...

Is it just me, or are the emulated touch events built into the Chrome dev tools really wonky? When I emulate touch events and view a site in any of the given device configurations, the touch events ...

I am coding an android application in QT and when the TouchEvent is emitted my touchEvent->touchPoints().at(newPoint).pos() is always 0,0 until I move my finger and force a TouchUpdate event. Is there ...

I've a problem with JQuery Mobile slider. In my case user should be able to enter value from the slider input field as well as using the slider itself. However I don't want to use the "change" event ...

In my activity, I have a SurfaceView which it has a onTouchEvent method. In this method I want to implement a long press action so that if I start to touch a special point on my SurfaceView and hold ...

here I have two ViewPagers in one activity and I want to set same touch event to do the same for this two ViewPagers.
How can I do this?
I want the first ViewPager to show the first image when second ...

I am basically trying to do the same thing on iOS that is done in the iOS Calendar app when it comes to create a new event by pressing the screen long: In this case, as most of you know, a new view is ...

In my application i am implementing like facebook,gmail as there is slider when you click on button or swipe from left to right another view (which is below the main view)open.and i m stuck in a thing ...