How to add our own gestures in android?

坚强是说给别人听的谎言 提交于 2020-01-01 19:56:13

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/15038335/how-to-add-our-own-gestures-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!