I have a URL where User can Input in a Field.
When I open that URL with the Android Browser and click in the Field the Virtual Keyboard pops up. When I open the same URL with my WebView and click in the Field the Virtual Keyboard does NOT appear?!
What Do I have to do? my code is below
LayoutInflater factory = LayoutInflater.from(InviteFriends.this); textEntryView = factory.inflate(R.layout.link, null);
builder = new AlertDialog.Builder(InviteFriends.this);
builder.setTitle("Web view");
builder.setView(textEntryView);
wvLink = (WebView) textEntryView.findViewById(R.id.wv);
wvLink.getSettings().setJavaScriptEnabled(true);
wvLink.loadUrl("http://www.google.com");
wvLink.requestFocus(View.FOCUS_DOWN);
wvLink.setWebViewClient(new WebViewClient()
{
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
{
view.loadUrl(url);
return true;
}
});
builder.setNegativeButton("oK",
new DialogInterface.OnClickListener() {
public void onClick(
DialogInterface dialog,
int which) {
try {
if (type == 0) {
}
} catch (Exception e)
{
e.printStackTrace();
}
}
});
alert = builder.create();
alert.show();
Thanks in advance