gestures

Android single- and multi-stroke gestures in the same library confuses the GesturesOverlayView?

I have noticed a problem on various handsets that if you save gestures while the stroketype is set to single and then change the stroketype to multi and add some multi-stroke gestures, the multi ones are often not recognized by the GesturesOverlayView when you draw them. These can be very simple gestures such as a + or an X. What happens...

GestureOverlayView causes strange TableRow blending

Simple problem: With the XML layout shown below, I have some views wrapped in a GestureOverlayView. As shown below, my first row is blended with the second row, as-if the first row is transposed right on top of the second. Now when I take the GestureOverlayView out of the code and leave everything else as-is, my table looks fine - the...

Gesture through Transparent png on iphone

hey is it possible to get hand gesture through a transparent png, in object c? i need to make it possible to zoom on a mapview, but through an imageview, containing a transparent png. iv tried to illustrate this: .png the white in the middle being the mapview underneath the png. anyone know the solution to this? ...

Android Gesture Builder displays Mandarin/Japanese characters!?

Why does Gesture Builder pop up with Mandarin/Japanese predictive text when entering the name of a gesture, and then subsequently save that name in this language. Please help me set it back to English? all the dialogue on screen apart from that is in English??? ...

Implementing Gesture Recognition In An Android App

I am adding gesture recognition to my app. I have added the view as described in the Android Developers Gestures article but when it comes to adding: mLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures); if(!mLibrary.load()){ finish(); } where do I put this in my code, do I have to create a new class for it, or can I h...

drawing on iphone

hello, I am trying to develop an iPhone application for children which will be able to draw characters on screen with touch and I want to know how to match the character drawn with good character of the alphabet. How will i compare the two shapes (drawing and existing) Any idea?? some code? ...

Why won't onLongPress fire on scrollable text?

I am trying to implement a alert box to pop up when someone holds their finger down on the screen (onLongPress event). The layout contains a TextView inside a LinearLayout, inside a ScrollView. If the text being displayed is short, everything works fine. But if it is so long that a scroll bar is present, the event won't fire at all. How ...

How to unit test UIGestureRecognizer subclasses?

Has anyone successfully unit tested subclasses of UIGestureRecognizer? What approach do you use or recommend if so? How do you go about synthesizing events if so? ...

pragmatically scroll UIScrollView upon shake gesture.

HI, I have a view that has three UIScrollViews on the screen. I want to randomly scroll the UIScrollViews to different positions whenever a user shakes the iPhone, but I am unable to get it done. I have implemented the following in my ViewController class to detect and handle the shake gesture, the 3 UIScrollViews also belong to the s...

iPhone - Catch horizontal swipes -before- subview

I have a view, that is able to go back to the previous view. Let's say this is a questionnaire. So my main view is the questionnaireView(Controller), and it has a subview which shows a question with 2 possible answers. When one answers the question, one presses next, and the questionnaireView(Controller) shows the next question in that ...

Gestures without XML ( in listActivity)

Hello, I'd like to know how to implement gestures recognition in a ListActivity, so without a Layout in XML. I know how to do it with an XML so I'd like to create this gestureOverlay from java code : <android.gesture.GestureOverlayView android:id="@+id/gesturesMain" android:layout_width="fill_parent" android:layout_height="fill_paren...

how to create a raw file of android gestures

I have noticed in the android gesture examples, that it reads the gestures from the res/raw folder. it would be a great thing for my application to include a 'getting started' list of gestures. that way a user can use the app without having to train it for their own personal gestures. i would even expect that the majority of users wou...

How to construct a language using hand gestures

Hi all: i am developing a programme which is capable of recognizing several hand gestures.Now the requirement need a language using the hand gestures.So, how can i construct one ? My current idea is using regular expression and Backus Naur Form to define the syntax,but i get stuck in the design. PLUS : the gestures is merely finger ...

?Sending a String created inside a method to another class

I have code which has one activity which passes information to a second activity. I can use this information to pass to a third activity with additional information from the result of the second activity. I want to use gestures as a method of going back to a previous activity, but if I go back from the third to the second activity I n...

Implementing Two-finger scroll with Windows 7 Surface Toolkit - need some thoughts!

I'm working with the Surface Toolkit and am willing to code a basic two-finger scroll algorithm for Scatterviews which contain FlowDocumentScrollViewer , but I'm not exactly sure how to do this. How is the math done if you take into consideration that even rotated ScatterViews should be scrollable? What else do I need to take into consi...

MPMoviePlayerController fullscreen lockup

I have a strange bug regarding the MPMoviePlayerController. If I do a reverse pinch gesture, (move two touch locations apart), while a video is playing (landscape), the video switches to portrait mode, broadcasts a MPMoviePlayerWillEnterFullscreenNotification and a MPMoviePlayerDidEnterFullscreenNotification, and is then stuck. No touc...

How to implement SimpleOnGestureListener in Activity

This is primarily a design question. I've implemented SimpleOnGestureListener on an ItemizedOverlay because I wanted to catch the onLongPress event as well as the onDown and onTap events. Everything is working okay but now I need to transition to a new activity on a specific onLongPress event. In this particular case an alert dialog is i...

Android - Detect Path of Complex Drag

I am recently getting into Android programming and want to make a simple game using 2D canvas drawing. I have checked out the Lunar Lander example and read up on some gestures, but it looks like I can only detect if a gesture occurred. I am looking to do a little more complicated detection on a swipe: I want to make a simple game whe...

Is high-level android lib for gestures that sends event when ascii char is drawn

Is there a high level android library for gestures that sends event when ascii character is drawn? So far I has seen only support for low level gestures --- strokes etc. I would like to add a GestureKeyBoardListener that calls back when a character from a to z (upper or lower case) or digit from 0 to 9 is entered. The Google Gestures an...

Silverlight Windows Phone 7: Gesture events?

I'm mocking up a wp7 app in Expression Blend and looking for set up an event handler in response to certain gestures. Some Bing-ing shows some people recommending to use "on click" or something and check the time between taps oneself, but it seems like there should be an easier way. Is there an event for Silverlight controls that fires ...