因为,15秒的通话可能需要5-10秒才能得到数据.它让我一直在等待。
下面是我每15秒的代码片段。I have one ajax call at every 15 seconds, and that call takes 5-10 seconds to load data, so during thattime, If I click on any other button to view data/report - it waits for that regular 15 sec. call.
应用程序需要在5-10秒内拨打不同的电话号码。代码看起来很像这样,但是我需要从一个数字数组中调用多个数字。我需要强制关闭一个呼叫活动来启动另一个呼叫活动。* Uri number = Uri.parse("tel:" + number[i]);
Intent dial = new Intent(Intent.ACTION_CALL