gestures

Algorithm to recognise mouse movements

Hello, Am wondering if there has been any research/algorthms which specify the amount of deviation of the mouse while recognizing characters like say "?" drawn using the mouse. Something a sort of optical character recognition, but probably a simpler version. Is there some algorithm using which I can say that a question mark drawn by th...

How to best handle fling gesture for Android ListActivity

I have an Android app with a ListActivity in the main view. The list contains a LinearLayout with a TextView and a hidden delete Button. The delete Button will be hidden by default. I want to use a fling gesture to show the button. I am able to detect the fling gesture thanks to question #937313 on stackoverflow. It's not clear to me ho...

Enabling Swipe-to-delete while showing reorder controls on UITableView

I am looking to allow reordering of UITableViewCells and deleting via swipe to delete, but not via the red delete circle. - (void)loadView { [super loadView]; [table setEditing:YES animated:NO]; } - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)i...

Windows Mobile 6.5 Gestures and C# 2.0 Application

Hi Folks, I am looking for some advice on handling WM 6.5 Gestures in a C# 2.0 Application. Currently things like pan and scroll are interfering with controls like the Tab Control and listviews. Is there a way to catch these using C# 2.0 and handling them? I've been looking at the MSDN wrappers etc but these are built using .Net 3.5 an...

Part of website independent of iPhone’s zoom

Is it possible to have a menu bar (navigation bar) on a web site that is independent of iPhone’s zoom (i.e. with fixed width and height) while the rest of the site can be zoomed in and out? With meta "viewport" I can set the zoom of the whole website, I want to exclude some parts. It seems that it can't be done by using iFrames or CSS ...

WPF 4 touch events getting the center of a pinch gesture

Hi All, I am using the .net 4 beta 2 touch libraries, and Im trying to implement a zooming feature in my WPF application. I can get the zooming working just fine, but what I want is to zoom in on the center of the pinch gesture, and I cannot see anything in the API's about how to accomplish this. Is there some methods or properties t...

iPhone UIPickerView Gestures

How would I go about adding gesture events to uipickerview to change tabs? I have to create a custom class, however, I don't know how to handle the uipickerview. I current have gestures present in uiviews to do this, but I'm having trouble with the uipickerview. My code for the views: #define HORIZ_SWIPE_DRAG_MIN 100 CGPoint mystartTou...

How to disable mouse gestures as a developer?

Hi, I'm developing a web application and I noticed how irritating mouse gestures can be on it, so, is there a way to disable them (Firefox and Opera particularly)? Edit: It seems there is some confusion. I'm developing a web based software that has an interface with such complex actions and tasks such as mouse selections, file drag and...

transferring images between two iphones using gestures

Hello all, I'm wondering if it would be possible at all to transfer data between two different iphones using gestures on one iphone? For instance, flick an image on iphone A and it would show up on iphone B. I realize this would require some sort of communication channel between the two iphones (may be bluetooth?). Assuming such a co...

Translating Mouse gestures into Numbers (.NET)

Hello, I am looking for a way to translate mouse movements - while the left mouse button is kept pressed down - into numbers 0 - 9. Are there any existing .NET libraries for this? many Thanks for any advice on this, Kave ...

draw by mouse with HTML5 Canvas

Hello guys. I want to use HTML5 Canvas to draw by mouse (ex: draw a signature, draw a name,...) Please help me how can i do? Please give some source code. Thank you ...

IPhone two fingers twist gesture

Hi. I need to rotate an image when the user do a two finger twist on it. do you have an idea on how i can code this or if you've done this before. I think it would be a good idea to write a class that detect all the main gesture and provide iif. ...

Getting a gestureoverlayview

I have been using some nice tutorials on drawing graphics on my android. I wanted to also add in the cool gesture demo found here: http://developer.android.com/resources/articles/gestures.html That takes these lines of code: GestureOverlayView gestures = (GestureOverlayView) findViewById(R.id.gestures); gestures.addOnGesturePerformed...

Complex gestures on the iPhone.

Is there a high level library that handles complex gestures l ike detecting triangles / loops / circles? Is it even possible to build such a library with what Apple already has? Thanks, Teja ...

Scroll Gestures not Passed to IScrollInfo implementing panel in Windows Phone 7 CTP

I am using a custom panel as a ItemsPanel for a ItemsControl in a with a custom template that provides for a scroll viewer. (See Xaml below.) So long as my panel does not implement IScrollInfo, scrolling works in this scenerio. I implement IScrollInfo and update my viewport and extent sizes in measure override. The scroll bar shows t...

Android: How/where to put gesture code into IME?

Hi, I'm new to Android but I'm trying to create an IME that allows for gesture-character recognition. I can already do simple apps that perform gesture recognition but am not sure where to hook in the gesture views/obj with an IME. Here is a starting skeleton of what I have for the IME so far. I would like to use android.gesture.Gestu...

Why would changing the StrokeType of a GestureOverlayView affect the standard behaviour of the view?

I recently introduced multi-stroke gestures into my application. This is a preference so I set the StrokeType dynamically in Activity.OnCreate. What I have discovered is that if you set the StrokeType dynamically, it changes the behaviour of the GestureOverlayView in the following way. The normal behaviour is that you draw a gesture and...

Can anyone explain why the behaviour of this Android GesturesOverlay onGestureEnded handler would have changed?

The following routine has been working fine and the code has not changed. The layout for the Activity is identical but for unknown reasons the behaviour has changed. I'm wondering if it is my handset memory (HTC Magic). What happens is that the drawn gesture is lost from the GesturesOverlay after leaving the routine, which clears the ges...

How do I programmatically add an Android Gestures view to a custom view?

I have a custom view that works fine and I'm trying to get gestures into it. The most common technique I see is to add XML, such as this (from Android docs: <android.gesture.GestureOverlayView android:id="@+id/myGestures" android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1.0" /> My view i...

CF - Mobile Managed Gestures

Im looking for a nice demo/sample using Windows Mobile Managed Gestures. I have a main view that contains a single panel. Every item in the panel is another panel containing pictureBox and a label. I would like to implement scrooling (finger flicking) to avoid using thin scroolers. Are the Windows Mobile Managed Gestures the right sol...