Android autoLink=";电话“;以编程方式?
我需要具有与xml autoLink=“phone”中相同的功能 目前我可以在按下按钮时拨打电话,但无法打开拨号器的电话号码 所以我不想马上按按钮打电话。我希望用户拥有拨号器上的号码,并能够在拨号前修改号码 如何使用Java实现这种功能?啊,好的 我需要将Android autoLink=";电话“;以编程方式?,android,android-intent,Android,Android Intent,我需要具有与xml autoLink=“phone”中相同的功能 目前我可以在按下按钮时拨打电话,但无法打开拨号器的电话号码 所以我不想马上按按钮打电话。我希望用户拥有拨号器上的号码,并能够在拨号前修改号码 如何使用Java实现这种功能?啊,好的 我需要将ACTION\u CALL更改为ACTION\u DIAL啊,好的 <TextView android:id="@+id/tvphoneValue" android:layout_width="112dp
ACTION\u CALL
更改为ACTION\u DIAL
啊,好的
<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" />
我需要将ACTION\u呼叫
更改为ACTION\u拨号
<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" />