Gesture recognizer and character recognition

Search for BETA-testers and/or promote your own Application in a decent way.

Gesture recognizer and character recognition

Postby MrSnowflake » Wed Oct 01, 2008 4:12 pm

Hi guys I made a class which should make gesture recognition easier.
http://code.google.com/p/snowservices/wiki/SnowGesture
The fun thing, while testing I made a character recognizer for android using my lib. It's not production ready at all, but it was fun to implement and it kind of works :D.
http://www.youtube.com/watch?v=QrrqxQpAapk
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Postby ninor » Wed Oct 01, 2008 4:22 pm

Impressive!
The "E"s and "R"s and "?" are a bit difficult to regonize, eh? :D

A question: The characters/traces can be defined from scratch and the number of them that you want?
I.e: Not using ABCDEFG...Z, and instead some custom traces.
User avatar
ninor
Moderator
Moderator
 
Posts: 180
Joined: Thu Aug 14, 2008 6:30 pm
Location: Barcelona, Spain

Postby MrSnowflake » Wed Oct 01, 2008 4:31 pm

ninor wrote:Impressive!
The "E"s and "R"s and "?" are a bit difficult to regonize, eh? :D

Yeah I had done the video a couple of time :). But as I said, it was just to fool around a bit :).

ninor wrote:A question: The characters/traces can be defined from scratch and the number of them that you want?
I.e: Not using ABCDEFG...Z, and instead some custom traces.

Yes you can define your own gestures, using the (current) 4 directions: U, D, R and L (Up, Down, Right, Left, ofcourse). If you take a look in the svn (CharacterRecognizer.java) you can see I make a HashMap with the gesture as key right in the onCreate(). Take a look at the wiki also, it has a simple example which should make everything clear. If not add some comment :).

In a future release, I aim to add the 4 diagonal directions, and the recognition, has to be better, but for now, it's good enough. Most firefox gesture plugins use the same directions, so I guess this should help you get along :).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby ninor » Wed Oct 01, 2008 5:18 pm

Great application/API.
Maybe I'll use it in some kind of game 8)
User avatar
ninor
Moderator
Moderator
 
Posts: 180
Joined: Thu Aug 14, 2008 6:30 pm
Location: Barcelona, Spain

Postby MrSnowflake » Wed Oct 01, 2008 6:21 pm

That would be awsome, if you make adjustments your self, let me know I could integrate them if they are generic enough. And thanks :).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby plusminus » Wed Oct 01, 2008 7:39 pm

:) looks nice ... I'm just thinking of where I could use this... :?
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Postby MrSnowflake » Thu Oct 02, 2008 12:08 am

I'm planning on using it as back button. And in a list view, when improved, character recognition could be used to quickly jump to the letter you entered (for example in contact list, music list, ...). Its a lot faster compared to getting out your keyboard, or even an onscreen keyboard.
But I haven't tested it in a ListView/ListActivity yet...
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby plusminus » Thu Oct 02, 2008 12:28 am

MrSnowflake wrote:I'm planning on using it as back button. And in a list view, when improved, character recognition could be used to quickly jump to the letter you entered (for example in contact list, music list, ...).


Yeah that are nice ideas, make it easy to use and it will spread. :)
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Re: Gesture recognizer and character recognition

Postby migmeg » Sat Nov 05, 2011 6:26 am

help me, why when i write "A" the text field only show "LDRUD" not "A" ?? please i'm just a newbie in android. thnx before...
migmeg
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Nov 05, 2011 6:22 am

Top

Return to Promote your Android Application

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests