1:public void onCreate(Bundle savedInstanceState) { 2: super.onCreate(savedInstanceState); 3 setContentView(R.layout.main); 4 TextView tv = new TextView(this); 5 tv.setText("23124543sdfasi2223844 a...@mot.com 908*44*90876",TextView.BufferType.SPANNABLE); 6 setContentView(tv); 7// Linkify.addLinks(tv, Linkify.ALL); 8 Spannable s = (Spannable)tv.getText(); 9 Linkify.addLinks(s, Linkify.ALL); } When I replace line 7 with line 8&9, links in text is not clickable. No response when I click on "2234844", and it works with line 7 anybody knows why?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---