thanks... I will try on this..... On Sep 25, 11:10 am, Ryan Mattison <[email protected]> wrote: > I think I went down this road like 2 years ago and ended up doing > something crazy/dumb like using a web view. Instead of startActivity > you could do pop ups and just feed the web view the text. A little > css might be needed : / If you are stuck this may work for u. Use > the Linkify to add tel: to the front of your phone numbers. Garbage > code, but sometimes o well. > private static final String mimetype = "text/html"; > private static final String encoding = "UTF-8"; > private string newIncoming > WebView mWebDesc = > (WebView)findViewById(R.id.webView_paragraph_termsAndConditions); > mWebDesc.loadDataWithBaseURL("fake://FAKEADDRESS/FAKE/", newIncoming, > mimetype, encoding, "fake://FAKEADDRESS/FAKE/"); > > mWebDesc.setWebViewClient(new WebViewClient() > { > @Override > public boolean > shouldOverrideUrlLoading(WebView view, > String url) > { > if (url.startsWith("http")) > { > > startActivity(new > Intent(Intent.ACTION_VIEW, > Uri.parse(url))); > > } > else if(url.startsWith("tel:")) > { > startActivity(new > Intent(Intent.ACTION_DIAL, > Uri.parse(url))); > } > return true; > } > }); > > On Sep 23, 1:12 am, jithin syam ms <[email protected]> wrote: > > > > > As part of my project I need to create TextView that contains > > message ,in which all phone numbers are linkified. > > I could do it. But my need is to create a context menu on that > > link.That is when I hold that link I need a context menu appears with > > many options. Please help.- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

