


android.text.util.Linkify
final static boolean addLinks(TextView text, int mask)
Scans the text of the provided TextView and turns all occurrences of the link types indicated in the mask into clickable links.
int ALL Bit mask indicating that all available patterns should be matched in methods that take an options mask 7 0x00000007
int EMAIL_ADDRESSES Bit field indicating that email addresses should be matched in methods that take an options mask 2 0x00000002
int PHONE_NUMBERS Bit field indicating that phone numbers should be matched in methods that take an options mask 4 0x00000004
int WEB_URLS Bit field indicating that web URLs should be matched in methods that take an options mask 1 0x00000001


Return to Other Coding-Problems
Users browsing this forum: Google [Bot] and 6 guests