Android的多点触控 - 可能测试在仿真器? [英] Android Multitouch - Possible to test in emulator?

查看:156
本文介绍了Android的多点触控 - 可能测试在仿真器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我发现了Android 2.0的SDK支持多点触控,通过在MotionEvent类的新功能。可以检索触感时指定的指针指数,并且在多个手指在屏幕上的情况下应该有提供多个指示器。

I recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should be multiple pointers provided.

不幸的是,我只有一个G1上测试,它的运行Android 1.5而不是2.0。

Unfortunately, I only have a G1 to test on and it's running Android 1.5 and not 2.0.

有什么办法来测试多点触摸没有2.0的设备?在iPhone模拟器,你可以按住选项,并切换选项执行两个手指捏两个手指拖动,分别。有没有在Android模拟器的任何类似的功能?有什么事情我应该会看到在未来,或者我应该只是吮吸它,买一个新的测试手机?

Is there any way to test multitouch without a 2.0 device? In the iPhone simulator, you can hold down option and shift option to perform two fingered pinch and two fingered drag, respectively. Is there any similar functionality in the Android emulator? Is it something I should expect to see in the future, or should I just suck it up and buy a new test phone?

推荐答案

<一个href="http://groups.google.com/group/android-platform/browse_thread/thread/472b35294374a032">This是一个后由Android团队一个人谁说,仍然不支持多点触控的模拟器。

This is a post by a guy from the Android team who says that multitouch in the emulator is still not supported.

这篇关于Android的多点触控 - 可能测试在仿真器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆