F
F
FreezeGS2020-09-07 20:07:55
Java
FreezeGS, 2020-09-07 20:07:55

How to disable transition in webview?

There is a program that opens a page in a webview, but when you enter the application, the webview is transferred to google chrome. It is necessary that this transition does not exist and that the webview is processed in the application and closed after execution. How can this be done?
Further code:

try {
            view.loadUrl(URL_1);
            Thread.sleep(1000);
            String a = view.getUrl();
            TextView txt = (TextView) findViewById(R.id.textView2);
            txt.setText(a);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question