atul yadav atul yadav - 4 months ago 12
Android Question

how to make text view clickable in android?

is it possible in android to make text view clickable if yes then how ??and if not then what will be the way for make a label clickable??i want to implement a call activity using this

private void call() {
try {
Intent callIntent = new Intent(Intent.ACTION_CALL);
} catch (ActivityNotFoundException activityException) {
Log.e("dialing-example", "Call failed", activityException);

thanks for ur responses in advance...

textView.setOnClickListener(new View.OnClickListener());

Have you tried this?