相关疑难解决方法(0)

WebView textarea不会弹出键盘

当我显示一个时WebView,我看不到弹出的软键盘.硬键盘也不起作用!

通常的缺点是什么?

我用来访问的代码WebView是:

package com.example.blahblah;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.KeyEvent;
import android.view.Window;
import android.webkit.JsResult;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Toast;

public class createAccount extends Activity {

private static final String LOG_TAG = "Create Account";
private WebView mWebView;
private static final String URL = blah_app.urlSelected+"createAccount.html";    
private Handler mHandler = new Handler();

@Override
public void onCreate(Bundle icicle) {
    super.onCreate(icicle);
    Toast.makeText(createAccount.this, "URL = " …
Run Code Online (Sandbox Code Playgroud)

android textarea webview

40
推荐指数
5
解决办法
4万
查看次数

标签 统计

android ×1

textarea ×1

webview ×1