-4

I need to invoke a Biometric device from a webview.

Please suggest.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
sankalp
  • 617
  • 5
  • 14
  • 1
    The page you need right now is [this one](https://stackoverflow.com/help/how-to-ask) – 2Dee Jun 13 '18 at 11:49

1 Answers1

0

There is an override method in webview.

    public boolean shouldOverrideUrlLoading(WebView view, String url) {
    //opens links in webview
    view.loadUrl(url);

    if(url.endsWith("logout")) {
        Intent intent = new Intent(SignIn.this, Menu.class);
        startActivity(intent);
    }
    return true;
}

SO if you have an url in web, that invokes biomentric, this is how you can do that.

Or is it something else, you wanted to ask.

manish poddar
  • 474
  • 3
  • 17