0
btnCall.setOnClickListener(new OnClickListener()
{
public void onClick(View v)
{
Intent intentCall=new Intent();
intentCall.setAction(android.content.Intent.ACTION_CALL);
intentCall.setData(Uri.parse("Calling no.."+edtText.getText()));
startActivity(intentCall);
}
});
添加此,edtText.getText( )的ToString() – Aerrow