使用App Inventor进行电话呼叫的动态可更新按钮

时间:2014-02-22 09:23:59

标签: android app-inventor

我的道路安全应用程序有一个emergency numbers部分,其中我设置了一个水平排列,带有按钮和警察,消防,交通等的列表选择器。

This是它的样子。我的问题是

可以使用MakePhoneCall方法动态更新呼叫按钮以拨打不同的号码吗?

1 个答案:

答案 0 :(得分:0)

是的,当然,只需在拨打电话前设置电话号码......

  

PhoneCall1.PhoneNumber = 1234567890
  PhoneCall1.MakePhoneCall

但是,您可能还有其他问题,see this thread。但this might be a solution对你来说......