[自由讨论] 求多点触摸(multi-touch)的资料,例子,文档都要,只要是相关的,就发出来吧,不要吝啬,哈哈
partner4java
2010-05-14
求多点触摸(multi-touch)的资料,例子,文档都要,只要是相关的,就发出来吧,不要吝啬,哈哈
|
|
partner4java
2010-05-14
我目前收集到资料:http://www.iteye.com/topic/516876
还有Pro+Android+2.pdf 16章节的(我这不能上传东西,只能说哪里可以找到了) |
|
partner4java
2010-05-14
Note that this code is handing the strangeness that was explained above,where the pointer Id for the last finger left on the screen is not made part of the value returned from getAction(),and also where the action part of the value returned is 5 or 6 instead of 0 or 1.After these statements in Listing 16-12 have executed,ptrId will hold the pointer Id associated on the action,action will have a value between 0 and 4,and ptrIndex will have the pointer index value for user with getX() and similar methods of MotionEvent.One way to look at the values returned form getActoin() is to realize that any value greater than 4 represents a value that relates to a pointer Id.Any value less than or equal to 4 represents a value that relates to the only finger wo know about,regardless of what pointer Id it is.
|
|
partner4java
2010-05-17
很不活跃啊,呵呵,自己再顶顶
|
|
cwh643
2010-05-19
这个不难,我是在iphone上实现的
|