Click here to Skip to main content
16,019,570 members

Comments by nikhil arora (Top 10 by date)

nikhil arora 9-Jun-18 11:48am View    
i don't want to get notified on links i want to get notified on just click
no image no hyperlinks.
nikhil arora 9-Jun-18 11:47am View    
yes buddy but it didn't worked for me :(
i am opening webview in fragment i tried throught stackoverflow's each post.

One method-->https://medium.com/@kpbird/android-webview-detect-html-element-on-click-263431c52e01 worked but it could able to detect only 2clicks :(
when i changed return statement to true in below mentioned code:

wv.setOnTouchListener(new View.OnTouchListener() {

public boolean onTouch(View v, MotionEvent event) {
WebView.HitTestResult hr = ((WebView)v).getHitTestResult();

return false;
}
});

It could able to detect clicks but i wasn't able to scroll down after that
nikhil arora 29-May-18 19:11pm View    
okay buddy done!!
nikhil arora 29-May-18 17:15pm View    
I tried to click the same image using browser URL that came after the search is--

https://www.zomato.com/ncr/wood-box-cafe-delhi-university-gtb-nagar/menu#tabtop

and this is what I get when I click the same image using webview in my app

zomatobranchsdk://open?link_click_id=5912449135
nikhil arora 29-May-18 15:39pm View    
if I remove the above mention code then too I am receiving same error