I have a question that I want to dial a phone call when I click on a text view which also contain a phone number. But when I click on a Text view it returns an error as:
TextVIew dialers=(TextView)this.findViewById(R.id.dialer); dialers.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { launchDialer(dialers.getText().toString()); } });