点击两个按钮,同时在Android中 [英] Click two buttons at the same time in Android

查看:190
本文介绍了点击两个按钮,同时在Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个按钮,这两个具有onTouchListeners并执行行动时,pressed下来。为什么他们不能,如果你试图在同一时间,单击这两个工作?我建设为Android 1.6。我没有一个真正的设备上测试,你不能测试一下两件事情在同一时间在模拟器。感谢您的帮助。

I have two buttons that both have onTouchListeners and perform an action when pressed down. Why do they not work if you try to click both at the same time? I'm building for Android 1.6. I don't have a real device to test on, and you can't test clicking two things at the same time in the emulator. Thanks for any help.

推荐答案

由于Roosma已经提到,多点触控可从2.X版本。

As Roosma already mention, multitouch is available from 2.x version.

据从我的应用程序在Android Market的下载公布的统计数据(已下载更多然后16K人)看起来只有少数几十人,采用了Android 1.6在其设备上。所以,我认为你应该mouve到2.1版本,至少。

According downloading statistics from my app published at android market (already downloaded more then 16k persons) it looks like there are only a few dozens people that using Android 1.6 on their devices. So i think you should mouve to version 2.1 at least.

我希望它能帮助:)

这篇关于点击两个按钮,同时在Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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