Android 中的手势预测问题
我正在制作一个应用程序,用户将在屏幕上做出手势,如果用户针对该手势存储了任何联系号码,它将拨打该号码。现在我遇到了手势识别问题。我面临的最主要问题是,如果用户在直线上存储数字,则永远不会调用它,因为当用户绘制直线来呼叫联系人时,它会变得半透明,因为它不是有效的手势。
半透明图像 http://developer.android.com/resources/articles/images/ gestures_003.png
任何人都可以帮我解决这个问题,以便我也可以识别此手势,或者有什么方法可以阻止我的用户做出此类手势? 谁能告诉我如何提高手势识别能力?
I am making an application in which user will be making gestures on screens and if the user has any contact number stored against that gesture , it will dial that number . now i am having an issue with recognition of gestures. the most primary issue i am facing is that if a user stores a number against a straight line , it will never be called because when ever user draw a straight line to call a contact it become translucent as it is not a valid gesture.
translucent image http://developer.android.com/resources/articles/images/gestures_003.png
Can any one help me with this so i can recognize this gesture as well or is there any way i can stop my user from making such gesture?
And also can any one tell me how to improve recognition of gestures?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,你为什么要这样做?你很清楚,直线手势是用来向下滚动的。这可能是设计使然。
Umm, why would you want to do this? You know very well that the straight line gesture is used to scroll down. This is probably by design.