I have one listview where every single element of the list has one textview. This textview has been set with following properties:
chatText.setMovementMethod(LinkMovementMethod.getInstance()); Linkify.addLinks(chatText, Linkify.ALL);
now all links are appearing properly but when i click on them the app is force stopping and displaying following errors:
android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
how to get solve this error??
0 comments:
Post a Comment