Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我一直在开发一个库来支持Android上的基本1和2手指手势,只需非常简单的插入功能。
大多数手势可以轻松设置:
该库是开源的,也可以作为 JAR 下载 文件 (.jar)。
我还没有决定许可证(很可能是 Apache),所以目前它没有许可证。
I have been developing a library to support basic 1 nad 2 finger gestures on Android with a very very simple drop in functionality.
Most gestures can be set as easily as:
The library is opensource and can also be downloaded as a JAR file (.jar).
I haven't decided upon a license yet (will most probably be Apache), so currently it is under NO License.
这是 Android 文档,它将描述手势。
GestureDetector
类包含我们的小型应用程序所需的大多数简单手势的方法。This is the Android documentation which will describe the Gestures.
GestureDetector
class contains methods for most of the simple gestures that we need for our small applications.几乎所有具有扩展 Android 触摸 UI 的库都是专有的……HTC 有 HTC Sense,三星有 TouchWiz 等。
苹果拥有大量多点触摸专利,我认为他们目前与 HTC 和其他手机制造商不鼓励开源解决方案的开发。对于将时间投入开源库并希望围绕它创建一个社区,然后可能将其商业化的开发人员来说,期望收到“停止和终止信”并不是一个很好的激励。
但是,您始终可以自己实现多点触控手势。
一个很好的教程是如何在 Android 2 中使用多点触控。
Pretty much all the libraries that have an extended Android touch UI are proprietary... HTC has HTC Sense, Samsung has TouchWiz, etc.
Apple holds a lot of patents for multi-touch things, and I think that their current battles against HTC and other phone manufacturers have discouraged the development of open source solutions. For a developer who invests their time on open source libraries with the hope to create a community around it and then maybe offer it commercially, to expect to receive "cease and desist letters" is not a good incentive.
But, you can always implement multi-touch gestures by yourself.
A good tutorial is How to use multi-touch in Android 2.