I know there's a lot about this but I want to make the whole webview not clickable so that it's like you press somewhere on a picture...
Is there a solution?
I know there's a lot about this but I want to make the whole webview not clickable so that it's like you press somewhere on a picture...
Is there a solution?
Ok, So, Maybe there is a solution.
I'm not expert in REGEXP, but the
<a href="http://www.the-link" alt="ddsd">BLABLA</a>
has to become
BLABLA
I think this is possible
EDIT
Try with this function
private String RemoveUrl(String commentstr)
{
String commentstr1=commentstr;
String urlPattern = "((https?|ftp|gopher|telnet|file|Unsure|http):((//)|(\\\\))+[\\w\\d:#@%/;$()~_?\\+-=\\\\\\.&]*)";
Pattern p = Pattern.compile(urlPattern,Pattern.CASE_INSENSITIVE);
Matcher m = p.matcher(commentstr1);
int i=0;
while (m.find()) {
commentstr1=commentstr1.replaceAll(m.group(i),"").trim();
i++;
}
return commentstr1;
}