touch-event
Android MapView ItemizedOverlay Draw onTap
I am trying to draw a custom shape in Draw method of Ite开发者_C百科mizedOverlay. Is it possible to get onTap event for the shape drawn.[详细]
2023-03-09 09:41 分类:问答How to get onTouchEvent, long click and context menu working together?
In our application we have a custom view (that extends ImageView) and in it we handle the touch events to record data. I wanted to add context menu functionality to this view and followed the guidelin[详细]
2023-03-09 02:15 分类:问答fingerpaint within a horizontalscrollview
I am combining some pieces of code which I have found on stackoverflow and in the android development kit. I want to put the fingerpaint canvas开发者_JAVA百科 within a lockable horizontalscrollview. H[详细]
2023-03-07 20:37 分类:问答Problems with Gallery.getChildAt(int position)
I\'m trying to create a 开发者_JS百科preview effect on a Gallery view and encountering issues with the Gallery.getChildAt(int position), which is returning null most of the time. It\'s supposed to ret[详细]
2023-03-05 10:41 分类:问答cocos2d multi object touch administration
I\'m programming a game, where you can click many objects like point and click. Current I receive the touch-events on an CCLayer and iterate over all objects to find out the touched object.[详细]
2023-03-04 12:48 分类:问答Scroll div on iPhone from anywhere on screen
I\'d like to prevent the default scrolling action on my page on an iPhone with the exception of a single div.Basically, when someone swipes their finger across the screen--anywhere on the screen--this[详细]
2023-03-02 15:02 分类:问答Point in Matrix coordinates
Is it possible to check if a point is contained in a Matrix coordinates? I have the original Matrix used to draw a View and want to know if the onTouch event coordinates are included in its coordinate[详细]
2023-03-01 05:38 分类:问答Android OnGestureListener Fling is not detecting
I want to detect fling motion in a block of the screen. I am using the following code for that. public class MyinfoActivity extends Activity implements OnGestureListener {[详细]
2023-02-17 09:09 分类:问答Why would onTouch() generate FATAL EXCEPTION when returning false?
I wrote a simple MotionEvent exercise in which all I do is log the parameters of the event. I do that by implementing OnTouchListener and overriding onTouch() in the main activity.[详细]
2023-02-16 00:59 分类:问答UIScrollview and subviews touch events managing
I have the main wiev. I have placed a UIScrollView object as a subview of the main view. I have an extended class from UIView, which manage touch events. This class models a sort of transparent black[详细]
2023-02-15 22:45 分类:问答