webview

Store the session of Facebook from WebView

Hi all, I'm trying to avoid that when a user has connected to Facebook from my webview, the next time he do it, doesn't need to put the email and password. I'm getting the cookie from the "facebook.com" domain with this sentence: String cookie = CookieManager.getInstance().getCookie("facebook.com"); and storing it in a SQLite database...

Save text from webpage to String variable

Hello! I want to save something from a webpage (loaded into webview) into a Java variable. Is that possible? Example: I have a webpage with written text: HELLO STACK!. How could I save that text into Java var (String foo = ?????)? Could I do it with JavaScript/Java cooperation? ...

Remember password popup on Android webview problem

Hello, this is is a pretty straight forward question, I need to detect when the default Remember password popup opens on the Android Webview (So I can make sure I am not covering it with any other component, or at least bring it to the front) Thanks a lot, this community has been very helpful for me. ...

JS execution in WebView

How would one execute javascript code within a webkit webview on OS X when the page is HTTPS? It seems no matter what i try, HTTPS pages wont allow execution. Even something as simple as evaluateWebScript: doesnt do anything, and all i am trying to do is highlight a few fields. ...

Is there a listener for when the WebView displays it's content?

Using WebViewClient and/or the WebChromeClient you can get a listener for when the page has loaded, however this is sometimes called before the WebView has any content in it, before it has displayed anything. What would be a efficient method for determining when the WebView has displayed it's content? Edit: (Trying to be more clear) W...

Detect click on HTML button through javascript in Android WebView

I'm not highly familiar with javascript but I think this is the best way to accomplish my purpose... If not, please correct me. I have a licence text 2 buttons at the end. All of this is written in HTML in a WebView because there are some links in the licence. Now, I want that when the user clicks the "ok" button in the WebView, this ...