Android :: New Gesture Recognition Application
Apr 30, 2009
http://android-wydiwyg.blogspot.com/
Me and some of my friends have made a gesture recognition application for android. It allows you to customize gestures that will call, text, or email one of your contacts or launch an application. Please check out our blog and demonstration video and comment to let us know what you think.
View 2 Replies
Apr 11, 2009
I had developed a simple gesture recognition library for Android (not for accelerometer; I mean touchscreen - finger gestures). I had to abandon it for quite a while, but recently I was able to clean it a bit and port it to 1.0 SDK. It is released under GPL. Here are some sample videos:
http://www.youtube.com/watch?v=C7A6OHWfSOE [url]
View 7 Replies
View Related
Jul 26, 2010
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:
CODEE:..........
where do I put this in my code, do I have to create a new class for it, or can I have it in an inner class, or does it not need a class at all?! I have a set up similar to Lunar Lander which comprises of two files, one of which is a thread that handles pretty much all the physics and drawing of the game. The other file begins the thread and saveInstanceState method. Furthermore, what type is mLibrary?! I cannot find out anywhere! I imagine I will put the OnGesturePerformed method in my thread as this is where I handle all keyUp and Down events.
View 1 Replies
View Related
May 1, 2010
I want to implement the same behavior of the notification view in the official Facebook app.
The "notifications" tab are at the bottom and can drag/drop via fingers to full screen. How can I do that? I've tried it via ViewFlipper and Animation. But no success. The app "Zedge" has the same in the "search" function. Via drag/drop you can open the "search" view.
View 4 Replies
View Related
Dec 23, 2009
I am a brand new developer to Android. I wrote a pretty simple application that uses the gesture library. The application itself seems to run fine in the simulator. However, when I installed the application on my Google Dev Phone 1 (G1) last night, it doesn't seem to work. I've upgraded my G1 with the 1.6 image from the htc developer site. I see the first screen/activity for about a second and the application exits without and errors. Here is what my manifest looks like:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.blahblah" android:debuggable="true"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="4" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_CONTACTS">
</ uses-permission>
<uses-permission android:name="android.permission.CALL_PHONE">
</uses- permission>
<application android:icon="@drawable/icon" android:label="@string/ application_name"> <activity android:name="Gesture1Activity"
android:label="@string/application_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="Gesture2Activity"
android:label="@string/label_gesture_list" />
<activity android:name="Gesture3Activity"
android:label="@string/label_create_gesture" />
</application>
</manifest>
Here's the output for logcat:
D/AndroidRuntime(860): D/AndroidRuntime(860): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime(860): CheckJNI is OFF D/AndroidRuntime(860): --- registering native functions --- I/jdwp (860): received file descriptor 20 from ADB D/ddm-heap(860): Got feature list request I/ActivityManager(101): Starting activity: Intent { flg=0x10000000 cmp=com.blahblah/.Gesture1Activity } D/AndroidRuntime(860): Shutting down VM D/dalvikvm(860): DestroyJavaVM waiting for non-daemon threads to exit E/AndroidRuntime(860): ERROR: thread attach failed D/dalvikvm(860): DestroyJavaVM shutting VM down D/dalvikvm(860): HeapWorker thread shutting down D/dalvikvm(860): HeapWorker thread has shut down D/jdwp (860): JDWP shutting down net... D/jdwp (860): +++ peer disconnected I/dalvikvm(860): Debugger has detached; object registry had 1 entries D/dalvikvm(860): VM cleaning up D/dalvikvm(860): LinearAlloc 0x0 used 677572 of 4194304 (16%) W/InputManagerService(101): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $Proxy@439a9eb8
View 5 Replies
View Related
Aug 31, 2009
The App I'm trying to work on requires that when a special combination of keys are pressed ( irrespective of the keypad being locked ) a service / app is triggered.
How can I achieve this? My app's whole idea hinges on this particular part to work.
I am not here to take a "no" for an answer. If you are going to tell me that its not possible, atleast include an explanation as to why its not possible.
View 7 Replies
View Related
Jul 7, 2009
Reading through this group about speech recognition in android. Is it possible for me as a developer to create an application that uses speech recognition in the 1.5 SDK. I want to be able to base my code on the examples/api/voicerecognition.java code.
View 15 Replies
View Related
Aug 2, 2009
How to I properly parameterize the speech recognizer so that it can more easily recognize the words that the user will probably say?
As far as I can tell there is no way.
I believe this site is wrong: http://www.4feets.com/2009/04/speech-recognition-in-android-sdk-15/
CODE:............
Will give a hint to the recognizer that you might say those words. However, it appears to do absolutely nothing. It also conflicts with the google documentation which says:
"An ArrayList of the potential results when performing ACTION_RECOGNIZE_SPEECH. Only present when RESULT_OK is returned." This hints that the array is a return value NOT an input.
To test this out try adding: ArrayList< String > potentialResults = new ArrayList< String >(); potentialResults.add("cumin"); and try to get the speech recognizer to recognize it. You will find it very difficult.
How to properly control the speech recognizer?
View 3 Replies
View Related
Jul 31, 2009
I would like to know what is meant by gestures in typical mobiles more specifically android ones. Android supports gesture recognition.
Is a gesture termed as when user holds the device and shakes it(say upwards, downwards or side- side)?
Is a gesture termed as when a finger is placed on the screen and traced UP,DOWN,RIGHT,LEFT? If so what is the difference between touch screen and gestures.
I am confused between 1) and 2) option.
What is a gesture exactly?
View 3 Replies
View Related
Oct 6, 2010
I create some gestures and they are working, but if I add a button the gesture doesn't work over the button. I split the display resolution to make different gestures and i get x, y coordinates. If i make a gesture starting with the button the coordinates are both 0, only under them i get normal coordinates. It's like the coordinates are starting only after the button.
View 1 Replies
View Related
Oct 13, 2010
I have to add a gesture to my listview,i want to implement the same functionality of contact application.
when i left swipe it should send a message,right swipe it should call. can anyone help me how to do those gesture detection... i have implemented it in various other views... but i couldn't do for listView... i don't what going worng...
My code is:
CODE:...........
View 1 Replies
View Related
Dec 15, 2009
I want to know that android has a touchscreen requirement about hardware and software.And how does touch gesture processing where, for example, in driver layer or framework or application,
View 4 Replies
View Related
Sep 3, 2010
I got a crash with the following stack trace:
CODE:.................
Line 130 in my code is: ...........
What's wrong and what checks can I perform on gesture before sending it to recognize to avoid this crash?
View 5 Replies
View Related
Apr 30, 2010
I got pretty good at using the Palm shorthand for entering text. I'm pretty sure that a similar "shorthand keyboard" would work out well on the Android phones, but I haven't seen any apps that will replace the keyboard with a "shorthand" pad.
View 2 Replies
View Related
Oct 31, 2010
I have hooked in a ScaleGestureDetector to an OnTouchListener as instructed in Android documentation. For some reason the ScaleGestureDetector does not always detect end of a pinch gesture. This happens mostly when pinching fast from large to small.
The effect is that after I have released both fingers the detector does not fire the gesture end event. If I touch the screen with one afterwards it still thinks I'm continuing the scale gesture (keeps firing onScale events). I have to do another gesture to get the detector to fire end event.
I have added logs to the OnTouchListener and when the scale gesture gets stuck I still get motion events normally when using one finger and event.getPointerCount() is 1.
I have made sure that I don't have any other listeners intervening. View that has the onTouchListener is not the only view on screen but this effect happens also when I'm very careful to begin and end the gesture inside this one view.
Is there any way to improve the end detection?
Or if there a way for me to manually set the ScaleGestureDetector to fire onScaleEnd and change scaleGestureDetector.isInProgress() to false?
View 1 Replies
View Related
Feb 2, 2010
What I want is to have an options menu where the user can choose to navigate the menu between:
1) touching a button and then pressing down on the trackball to select it, and
2) drawing predefined gestures from Gestures Builder
As it stands now, I have created my buttons with OnClickListener and the gestures with GestureOverlayView. Then I select starting a new Activity depending on whether the using pressed a button or executed a gesture. However, when I attempt to draw a gesture, it is not picked up. Only pressing the buttons is recognized. The following is my code:
CODE:..............
View 1 Replies
View Related
Mar 25, 2010
I am using gesture detector to catch "flings" and using a view flipper to change the screen when this happens. Some of my child views contain list views. The the gesture detector wont recognize a swipe if you swipe on the list view. But it will recognize it if it is onTop of TextView's or ImageView's. Is there a way to implement it so that it will recognize the swipes even if they are on top of another view that has a ClickListener?
View 3 Replies
View Related
Jul 6, 2010
What Android Api is used to get the scrolling to the left or to the right on the start screen on Android?
View 4 Replies
View Related
Apr 15, 2009
How do you use the Android API to zoom in and out maps with the 2 finger gestures like iPhone?
View 2 Replies
View Related
Nov 26, 2009
I have the same problem with Gesture Builder on the emulator and when I build the app myself and install om my G1.
It does not save the gestures correctly on my sdcard. It does not create a folder called "gestures" but instead creates a file called "gestures" with a size on about 2kb. It does not grow when I create more gestures. Is this really correct, because I thought a folder would be created in which each gesture would be stored in different files.
I look in code for CreateGestureActivity.java and here is where the magic of saving happens:
final GestureLibrary store = GestureBuilderActivity.getStore(); store.addGesture(name.toString(), mGesture); store.save();
View 2 Replies
View Related
Sep 3, 2010
I want to implement the same behaviour of the notification view in the official Facebook app.
The "notifications" tab are at the bottom and can drag/drop via fingers to full screen.
How can i do that?
I've tried it via ViewFlipper and Animation.... But no success.
Does anyone know how we can do this?
The app "Zedge" has the same in the "search" function. Via drag/drop you can open the "search" view.
View 2 Replies
View Related
Mar 26, 2009
My View subclass is can be written one of two ways, I've tried both. One implements OnGestureListener, the other doesn't. In both cases, the Activity registers the view for context menus when the view is created and registers itself, the activity, as the context menu listener.In the case where OnGestureListener is *not* implemented, context menus work. onCreateContextMenu() and onContextItemSelected() are both called and the menu works as expected. In the case where OnGestureListener *is* implemented by the view subclass, the context menu processing functions in the activity are never called. Problem is, I need both. Without OnGestureListener, I don't get fling events. With it, I don't get context menus. need both.
View 6 Replies
View Related
Nov 12, 2010
If (in Android) you wanted to write an alarm app where the user entered in the time for the alarm by swiping the hours & minutes up and down, what's the easiest way of achieving this? Is it the Swipe or Fling command?
Are there any good tutorials out there for this?
View 1 Replies
View Related
Aug 20, 2009
So my application has a large amount of textual data. Up until this point I've been using forward and back buttons to navigate from section to section. I was impressed with the horizontal scrolling of the Ebook reader from Alkido that is available on the store which uses a horizontal fling gesture to flip the pages. Does anyone have any experience doing something like this? I've done it a number of ways, but none seem to be very smooth or efficient.
View 2 Replies
View Related
Aug 18, 2010
I have this strange issue in iOS4 where in the Video which is playing in MPMoviePlayerController blacks out when the user performs certain kind of gestures over the screen. I'm simply creating a UIViewController and object for MPMoviePlayerController and then setting the View onto the UIViewController.I want to ask if this issue is solvable or not, and whats the correct way of playing a streaming video on iPhone.And if there is way that I can use a overlay view over MPMoviePlayerController and capture all gestures and pass on single taps or touches to MPMoviePlayerController for general functionality of MPMoviePlayerController and avoiding Gestures that is causing the issue.Please help me solving the problem with the Best possible solution and please help me in elaborating the solution.
View 2 Replies
View Related
Nov 24, 2010
Can anybody give example how to implement gesture detector onfling in webview in android.
View 1 Replies
View Related
Sep 22, 2012
LG's phones and the Galaxy S3 (not sure about the rest) have a gesture menu in the settings that lets you do stuff like switching to the next song by tapping on the right side of the phone, or sneeze the alarm by flipping the phone on it's face, so I was searching the internet for an app like this and they all showed screen gestures.I'm buying a Galaxy Nexus, but I want to have those gestures, so if you know any app that does so, or what word I can use for searching.
View 1 Replies
View Related
Oct 28, 2010
Is there anyway i can change my swipe gesture action to compose email when i swipe the dock? someone told me to go to "launch activity", i cant seem to find it.
View 12 Replies
View Related
Feb 9, 2009
Voice Search is new with RC33. I am wondering if the voice recognition will be part of the API 1.1. Or at least an Intent? Btw, is the SDK 1.1 JavaDoc available somewhere yet?
View 11 Replies
View Related
Dec 10, 2009
Is Android Speech recognition only available for english? I tryed to set EXTRA_LANGUAGE in the RecognizerIntent but it doesn't work. EXTRA_LANGUAGE - Optional language override to inform the recognizer that it should expect speech in a language different than the one set in the getDefault(). Do you know anything about this?
View 2 Replies
View Related