如何可以识别的东西触动相机或手指在机器人触摸? [英] How it can be recognized that something touches the camera or finger is touched in android?
本文介绍了如何可以识别的东西触动相机或手指在机器人触摸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道它如何的东西是贴在相机Android中得到认可?
I want to know how it can be recognized that something is taped to the Camera in Android?
任何帮助,请!
感谢
推荐答案
您需要调用onInterceptTouchEvent()方法。
请检查它的语法和更多信息<一个href=\"http://developer.android.com/reference/android/view/ViewGroup.html#onInterceptTouchEvent%28android.view.MotionEvent%29\"相对=nofollow>这里。
you need to invoke onInterceptTouchEvent() method. please check its syntax and more information here.
这篇关于如何可以识别的东西触动相机或手指在机器人触摸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文