i am creating a listview. in that list each item has text view. and in text views i am defining linkify texts based on data from the web service..
now when i click on that linkify text i am getting 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 solving this problem.. any answer with solution will 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>")));
Look like you need to put http://
at the beginning of that URL. Without the protocol specifier Android appears to assume "content://" is the intended url type.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With