Tuesday, January 22, 2013

[android-developers] how to show popup window in webview

i have developed web applictaion in android here i need to show the pop inside the webview,
i tried in many way when i using window.open means it open on the same webview or it can load in browser.

 i have done the following settings

    WebSettings settings = Browser.getSettings();  
       settings.setSupportMultipleWindows(false);
       settings.setJavaScriptEnabled(true); 
       Browser.setWebViewClient(new WebViewClient());
            Browser.setWebChromeClient(new WebChromeClient());
            settings.setJavaScriptCanOpenWindowsAutomatically(false);
       settings.setBuiltInZoomControls(true);
       Browser.requestFocusFromTouch();

 but i want show the poplike this do any idea about how to show the popup in side the webview.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate