java - Android - how to turn numbers in a TextView into buttons -


my utility app requires user select meeting calendar, removes non-numerical text, , parses remains using logic, final aim of identifying 2 numbers only.

whenever app fails remain 2 numbers only, want open new activity in user "tell" app 2 numbers relevant ones. want display meeting title, location, , description in 3 textviews numbers should clickable special onclick action trigger methods handle identified 2 numbers... question how turn numbers in textviews clickable , have special onclick action. don't think can use linkify cannot put onclicklistener on links. idea turn numbers clickable buttons , add relevant listener buttons. 1) suggestion on how conversion other simple step step parsing? 2) better idea using buttons?

thanks million

call setonclicklistener(this) on textview , supply onclick method in code


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -