Quantcast
Channel: BlogoSfera » present
Viewing all articles
Browse latest Browse all 15

Android – Show soft keyboard even if hardware keyboard is present

$
0
0

In my Android app I need to show soft keyboard when the user clicks an image. My code is working fine if the device doesn’t have a hardware keyboard, but if it has it, the soft keyboard doesn’t get shown. Right now my code is as follows: imageView.setOnClickListener(new View.OnClickListener() { editText.requestFocus(); InputMethodManager imm = (InputMethodManager) […]

The post Android – Show soft keyboard even if hardware keyboard is present appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 15

Trending Articles