How do I convert records from my SQLite table to clickable link. See code below.
ListAdapter list =
new SimpleCursorAdapter(this,android.R.layout.two_line_list_item, myCursor, new String [] {"title","url"}, new int [] {R.id.text1, R.id.text2});
I want the output of R.id.text2 to be a clickable URL.
Thank you
In layout file in View which will shows the URL write next
And links will be clickable. You also can make e-mail and etc. links clickable.
Please read this for more info http://developer.android.com/reference/android/widget/TextView.html#attr_android:autoLink
Example:
Good Luck!