M
M
MakarkinPRO2015-03-08 15:51:52
Android
MakarkinPRO, 2015-03-08 15:51:52

How to prevent a specific URL from being opened in android?

I am writing an application, I want a specific URL if it contains a link, and the user clicks on it ... then nothing happens.
Is it possible to do this, or are there any alternative solutions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
one pavel, 2015-03-08
@onepavel

So after all WebViewClient intercepts any links clicked in WebView.

M
Max, 2015-03-08
@mbelskiy

shouldOverrideUrlLoading
I think you'll figure it out further :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question