Webview can't type in, is that because of missing setting?

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-03-25T07:06:56Z Indexed on 2010/03/25 7:13 UTC
Read the original article Hit count: 322

I have an Android application that connects to Facebook to request authorization of an Application.

I use the following setting in the WebView, but once the view is loaded, I can't type in login details. What I am missing?

WebView webview;
webview = (WebView) findViewById(R.id.facebookview);
webview.getSettings().setJavaScriptEnabled(true);
webview.setWebViewClient(new FacebookWebViewClient());

webview
    .loadUrl("http://www.connect.facebook.com/login.php?return_session=1&nochrome=1&fbconnect=1&extern=2&connect_display=popup&api_key="
            + FConnect.API_KEY
            + "&v=1.0&next="
            + FConnect.SUCCESS_URL
            + "%3Ffb_login%26fname%3D_opener&cancel_url="
            + FConnect.CANCEL_URL
            + "%23fname%3D_opener%26%257B%2522t%2522%253A3%252C%2522h%2522%253A%2522fbCancelLogin%2522%252C%2522sid%2522%253A%25220.741%2522%257D&channel_url="
            + FConnect.XD_RECEIVER);

alt text

© Stack Overflow or respective owner

Related posts about android

Related posts about webview