我在我的android應用程序中有一個textview。從textview-android獲取鏈接文本...?
textView.setText(message);
Linkify.addLinks(textView, Linkify.ALL);
與此代碼識別它的電話號碼,電子郵件地址,網頁鏈接等,並強調它的點擊,所以適當的意圖調用。
我想取什麼linkify在我的TextView商店它在一個陣列 例如
如果我的TextView包含"Hello, this is deer, my phone number is 9988776655 and email id is [email protected] and weburl is www.abc.com"
串
然後我想獲取「9988776655」,「[email protected] 「,」www.abc.com「並將其存儲在數組中, 是否有可能......!?!
感謝回覆它可以幫助...!?! – 2012-07-31 08:55:00