Is it possible to open a javascript popup window on a android webviewer coded like this example from google? and if yes how? I dont want that the original page in the background is closed it has to be a popup like on the picture.

Is it possible to open a javascript popup window on a android webviewer coded like this example from google? and if yes how? I dont want that the original page in the background is closed it has to be a popup like on the picture.

 
    
     
    
    See answers to this question:
JavaScript alert not working in Android WebView
The answer from Stephen Quan is to just set the default webChromeClient
mWebView.setWebChromeClient(new WebChromeClient());
 
    
     
    
    You can allow javascript and opening windows from javascript in a webview. Just set this settings
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
Be careful though because enabling javascript on your app webview can bring some serious security issues
check this links
and this one for webviews