How to add a web address in a AlertBox as a link?
I am showing a Alertbox after clicking a button. The Alert box is customised one. Along 开发者_如何学编程with the Alert title it has to show a web address like http://www.google.com. While clicking the web it site has to load in a seperate Activity with the content of the specific address.I am using a webview and the website is loading successfully the problem is, not able to show the web address in alertbox. It will be better if i can show it as a link.
thanks and regards Parvathi
String text = "<a href=http://www.google.de>Link zum klicken</a>";
builder.setMessage(Html.fromHtml(text));
精彩评论