touch

Long Touch on a surfaceView ( android )

Hi! I'm making a game on Android and I need to do certain actions when the users attempts a long press on the screen. Unfortunately I haven't found any methods that works directly with a custom SurfaceView, feel free to tell me if such a method exists :) So I decided to try and implement a long touch detection from the onTouch event li...

Add handheld touch events to web app

Hi. What's the best way to add touch events to a web app? The page works well enough on the iPad but it would be nice to have some touch events specific to the handheld devices. Do you recommend any jQuery plugins for this? Thanks. ...

Move an object in OpenGL ES for iOS?

I want to move an object to a specific point on the screen. (Specifically, wherever the user touches, barring any collisions that may interfere.) What OpenGL ES call am I supposed to use for this? ...

Android emulator, onClick and onTouch problem

Hello guys. I'm working on an android application, and test it on an emulator, because I don't have physical android device. So, I have a button, and I set a click listener on it. Does it mean that it will work only when the user pushes the click button on his device, or it will work also when he taps the button (the tap is touch event...

iphone- Highlighting div on tap that isn't a link

I'd like to highlight an entire div when the user touches or selects the text contained in the div. I'm able to highlight the text only when it is contained in a span with a javascript function, but when I try to apply the function to the entire div it does not work. In my research I've seen many people remove a highlight with -webkit-...

Layers of UIViews, innermost view, UISwitch has trouble

I have a UIScrollView containing a UIView (blue grid), containing another UIView (orange bordered 'part'), containing the UISwitch (shown mid-run). The blue grid can scroll around with the finger, and the part can also drag around. I implement this with a pan gesture recognizer. My main problem seems to be trying to get the swipe gestur...

Finger drag on motorola droid

Hello, I am programming an android application and my "testing" device is a Motorola Milestone (Droid). I have done a grid that scroll like the iPhone home menu ( with "points"). I got two problems: The first one : the drag only works on the Android Device Emulator and don't on the Droid! (Maybe the multi-touch screen is a problem?) Th...

How do I add a touch event to a subview of UIView?

I'm trying to build by very first app so excuse my ignorance. I love the sample code that Apple put together here called ViewTransitions: http://developer.apple.com/iphone/library/samplecode/ViewTransitions/Introduction/Intro.html I want the transition to occur after a user taps the screen once instead of the button like the code does....

Focus on Blur Substitutes for Touch Events on iOS4?

My Desktop Webkit enabled App uses the following: iframe.contentDocument.defaultView.addEventListener("focus", function(event) { toolbar.show() }, false); iframe.contentDocument.defaultView.addEventListener("blur", function(event) { toolbar.hide() }, false); Is there a way to update this to support Touch Events on the iOS Safari Brows...

What language are the Redbox DVD Kiosks written in?

What is the language used for the UI at the Redbox DVD Kiosks? Thanks. ...

javascript - API for the ipad touch keyboard

I'm developing a simple html-form for the ipad safari. You can tab through the inputboxes via the "next" button on the touch keyboard. Unfortunatly one input box should have it's own "keyobard" (a spinnig wheel). Is there any chance to hide the keyboard for this special input? ...

Iphone + OpenGL ES + Blender Model: Rotation by Touch

I'd like to have a 3d object inside an iPhone UIView that can be rotated by using the touching events (swipe with a finger maybe). Where shall I start looking at? I guess OpenGL ES might be useful to do this, but I know nothing about it and I do not wanat to go deep inside OpenGL Programming ( studiying physics, rotations, quaternions et...

Framework for catching Android/iPhone touch actions? - Javascript

Hi folks, any good framework I can use to listen for touch, swipes and pinch actions? Ideas would be awesome! =) ...

iphone/ipod touch/ ipad ide/text editor

I know that there are a multitude of text editors for the iphone. Im looking for a good text editor, preferably on that has syntax highlighting and also is good for application development on the iphone can anyone help me? My devices are all jailbroken thanks in advance ...

do touch events not work with text-input elements in iPad Safari?

In iPad Safari, I have programmed a DIV's touch-events so that when you touch inside the DIV and hold your finger there for 500ms, the DIV's background color changes. When I try to move the code over to a text-input element (inside a fieldset), making it the touch-target instead of the DIV, the code doesn't work. The text-input becomes ...

what's the differences between [event allTouches] &[touches allObject]?

in uiresponder , - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; what's the difference between [event allTouches] and [touches allObject]? ...

Touching both a MapView and a Button on Android

Hey there!! I created a MapActivity that contains a MapView and a Button on the top of the MapView. Like this: I would like that the user touch a point of the mapView with a finger and then touch the button "Add Place" with another finger (the MapView is still pushed by the first finger). The problem is when the first finger touch ...

where is the documentation listing the elements that are targets for touch events in iPad?

I have been looking for a list of HTML elements that are valid targets for touch events on the iPad but haven't found it in the online Apple documentation for handling touch events. I know that a span element can be turned into a touch target by adding a dummy onclick handler, but that trick doesn't work for all elements. I would be ve...

iPhone & iPod Touch iAd UIImageView memory Leak

Running my app on device using leaks tells me that iAd is leaking a UIImageView (namely the ad). Does anyone know what this is about/how to fix it?![alt text][1] screenshot of my instruments panel: http://www.freeimagehosting.net/uploads/30446483e5.jpg ...

Android, GridView and onTouchListener

Hello, My application have three pages (three tabs) and I want to switch beetween two gridviews by moving finger horizontaly. The touch code works fine but I can't click anymore on the grid items! I use the method onItemClickListener (onClickListener don't works on Gridview) but the grid item is not clicked. Thanks for your help! The co...