How to add our own gestures in android?

2019-04-17 00:08发布

I am working on the gestures concept. I want know some thing about how to add our own gestures in android.For example if user drawn "O" symbol i want to make some events. Please share some tutorials and Snippet of the code.

2条回答
疯言疯语
2楼-- · 2019-04-17 00:55

There are quite a few results available with a relatively simple Google search. I would normally post a sarcastic comment or something. :-)

But this isn't quite an everyday subject if you would, so I have here a few links that should get you started. But you should work on your Google foo too. ;-)

  1. http://developer.samsung.com/android/technical-docs/Gestures-in-Android
  2. http://www.hascode.com/2010/05/creating-a-simple-gesture-app-with-android/
  3. http://code.google.com/p/quickdroid/source/checkout (QuickDroid Checkout)
  4. http://code.google.com/p/quickdroid/source/browse/ (QuickDroid Browse code)
  5. http://androidresearch.wordpress.com/2012/01/10/working-with-gesture-api-in-android/

I found the 5th link a little more promising. Of course, I haven't seen too much of it for that to be definite. But try them all anyway.

查看更多
孤傲高冷的网名
3楼-- · 2019-04-17 00:58

Check the link below which will guide on how to create our own gestures and use it.

1) Link 1
2) Link 2
3) Link 3
4) Link 4

Go throug some of the links you will surely get some idea about gestures.

查看更多
登录 后发表回答