Spannable String Error
问题 I am trying to display some text in an alert dialog box as a hyperlink. Part of the process requires me to use SpannableString to format some text. The problem is that my application experiences a runtime error on the SpannableString part of my code. TextView Tv= (TextView) findViewById(R.id.textView3); SpannableString s = new SpannableString("www.google.com"); Linkify.addLinks(s, Linkify.WEB_URLS); Tv.setText(s); Tv.setMovementMethod(LinkMovementMethod.getInstance()); I looked in the DDMS