我需要有按钮与在xml autoLink=“电话”相同的功能。
目前,我可以在按下按钮时拨打电话,但无法打开拨号器的电话号码。
所以我不想让按钮立即呼叫。我希望用户有拨号器上的号码,并能够在拨号前修改号码。
如何使用Java实现这种特性?
发布于 2012-08-17 19:52:46
啊好吧。
我需要将ACTION_CALL更改为ACTION_DIAL
发布于 2012-11-14 16:01:45
<TextView
android:id="@+id/tvphoneValue"
android:layout_width="112dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:autoLink="phone"
android:maxEms="15"
android:text="number you want to call" />https://stackoverflow.com/questions/12005164
复制相似问题