Keyboard hides automatically on some mobile phones - android

We have an angular 6 app, that is wrapped in cordova android (version 7)
When the app is run on a mobile phone, we sometimes have issues that the keyboard popup's and directly hides again, or just doesn't show up.
When the issues occurs and you keep holding the input until a menu pops up, thereafter the keyboard is working as expected in the app.
This occurs on some devices (Samsung s7, but not on samsung S8 /S9 / A5)

Related

Android Web Application - application is displaying above keyboard

I am running my web application built in using HTML5 on the android browser.
I have one search box on my home screen.
Whenever I tap inside the search input box the virtual keyboard appears and the application is shrinks and resizing with whatever available place above the keyboard.
This behavior I have seen on samsung galaxy tab (3.1), samsung galaxy note (2.3.6) and samsung S3(4.0)
But, if I run the same web application on the HTC desire(2.3.5) or even HTC evo 3D, the keyboard appears above the app and the application does not shrinks.
I am looking if there are any setting for web browser on android.
I know there are manifest file settings like resize pan and other for android hybrid as well as native application but I want to know if there are any settings for normal web application running on android browsers.
Try
android:windowSoftInputMode="adjustResize"
in your manifest file.
You might need to use android:windowSoftInputMode="adjustResize|adjustPan".
Place this code in the activity under application , where u want such setting

CKEditor no keyboard on Android

When I tested my site on Android phone I have noticed that I can't edit content in CKEditor, the keyboard does not appear.
I have testes on iPad, Android Tablet, all works, but not on phone. BTW, I have tested standard browser and Dolphin too, problem in both.
How can I fix this problem?
You can show the keyboard by keeping the menu button pressed for a little longer.

How can I get iPhoneKeyboard.done if the keyboard is closed by native touch?

First of all, I found that different Android devices (or even iOS devices) will have their own handle when the native keyboard is on:
In Galaxy Nexus, the keyboard will be dismissed by tap outside the keyboard
In Sony Ericsson Acro HD, all responses behind is blocked until OK button on the keyboard is tapped.
I open the keyboard by iPhoneKeyboard.Open(). iPhoneKeyboard.done works fine if the OK button in the native keyboard is tapped. But the problem is iPhoneKeyboard.done is not triggered if it is dismissed by OS in Nexus.
How can I have iPhoneKeyboard.done in true if it is dismissed by OS?
Upgrading my Unity from 3.5.2 to 3.5.6. The problem in Nexus is solved. I think Unity Team have solved the issue already.
For reference, I found this in 3.5.6 fixes:
Android: Made sure OnScreenKeyboard can be opened again after being closed due to lost focus.

Text box automatically scrolls for Phonegap app in HTC sensation device

We are implementing Phonegap app for Android devices. In one of our screens we have text box, on focus of text box in landscape mode of device , screen scrolls automatically up and down continuously and this issue we are getting only in HTC sensation device.
Issue is not occuring in portarit mode of device.
Please assist me to resolve issue.

Android 4.0 - Is it required to implement the soft keyboard when needed?

I'm very new to Java and the Android SDK but I'm almost done with porting one of my iOS apps over to Android. I'm targeting Android 2.2 (minSdkVersion=8) and higher and recently bought a cheapo LG Optimus S with 2.2.1 for $75 to test with. On the AVDs I've set up (2.2 & 2.3.3) and my test device (2.2.1), everything is working as expected: user data input, graphing user results, sharing on facebook and twitter, and uploading data to a mysql database via php. My problem arises when I test my app on AVDs 3.1, 3.2, and 4.0. Simply put, the Soft Keyboard does not pop up at all when I select an EditText box with any of these versions through the AVD. This behavior didn't occur in 2.2, 2.2.1, or 2.3.3.
I've created and deleted at least a dozen AVDs and have set Keyboard support = no, Keyboard lid support = no, and any other related input type to no and the Soft Keyboard still doesn't pop up when I click on an EditText box. After tinkering with 3.2 through the AVD, I was able to set up the Soft Keyboard and use it with my app, so that's no longer a concern. However, I still can't get it to pop up with 4.0. Should I even worry about this? After all, it's just an AVD and not the real thing. Will an actual Android 4.0 device without any type of physical keyboard know when to pop up a Soft Keyboard or do I need to add some keyboard show/hide methods for it (and maybe 3.1/3.2)? I can't buy a cheapo Android 4.0 device yet..
Thanks,
j
As long as you aren't doing anything weird, tapping on an EditView should pop up a keyboard on any device that doesn't have a hardware keyboard so it should work fine on a 4.0 device.
I'd still try to get the AVD working correctly. Pop-up keyboards work fine on my 4.0 AVDs.

Categories

Resources