I am creating a listview . in this list, each item has a text view . and in textual representations, I define linking texts based on data from a web service ..
now when i click on this link text i get an error like
09-21 20:27:38.031: ERROR/AndroidRuntime(766): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=\"ticbeat.com/socialmedia/fa…" (has extras)
please help me solve this problem .. any answer with a solution would be highly appreciated.
Update:
code:
if(urlentities[position]!=null && dpurlentities[position]!=null) holder.twtdata.setText(Html.fromHtml(timelines[position].replace(urlentities[position],"<a href=\\\""+dpurlentities[position]+"\">"+urlentities[position]+"</a>")));
source share