For some reason my Android softkeyboard is raising without me doing anything. This happens during the apps launch sequence. I cannot seem to figure out why.
I am not focusing on anything. It seems to happen before my splashscreen even hides (on deviceready).
Is this a known issue? App ID: 833596
Any helps is much appreciated.
~Red
I am not focusing on anything. It seems to happen before my splashscreen even hides (on deviceready).
Is this a known issue? App ID: 833596
Any helps is much appreciated.
~Red
- 255 Posts
- 0 Reply Likes
Posted 6 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
I'm not a PGB support staff member, so I can't see your code. But allow me two wild guesses:
1. Are you using any 3rd party keyboard plugins? If so, could it be that you call a KeyboardShow() function on app start unintendedly?
2. Do you have any input fields on your app's first screen? If so, could it be that such field is positioned exactly in the same spot as the app's icon on your home screen? (My guess is that you tap the icon twice, which triggers the app to think that the second tap is a tap on the input field 'underneath' the icon. You might place the icon in a home screen corner and try again).
1. Are you using any 3rd party keyboard plugins? If so, could it be that you call a KeyboardShow() function on app start unintendedly?
2. Do you have any input fields on your app's first screen? If so, could it be that such field is positioned exactly in the same spot as the app's icon on your home screen? (My guess is that you tap the icon twice, which triggers the app to think that the second tap is a tap on the input field 'underneath' the icon. You might place the icon in a home screen corner and try again).
- 10 Posts
- 2 Reply Likes
I have the same issue with Android. Have you found a solution or the cause of the issue?
- 10 Posts
- 2 Reply Likes
Well I just found out that changing this
preference name="android-windowSoftInputMode" value="stateVisible"
to this
preference name="android-windowSoftInputMode" value="adjustPan"
in config.xml solved the issue for me
preference name="android-windowSoftInputMode" value="stateVisible"
to this
preference name="android-windowSoftInputMode" value="adjustPan"
in config.xml solved the issue for me
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers




Red2678
#1) So I did a 'find' in the entire project. No "KeyboardShow()" anywhere (as I expected). The only 3rd party plugins I am using are com.phonegap.plugin.statusbar, com.plugins.shortcut, com.ohh2ahh.plugins.appavailability.
#2) No inputs on the home screen, just a button. It is practically all of Hardeeps phonegap-build startapp code straight from GiuHub.
I can't figure it out :/
Petra V., Champion
Have you tried to temporarily remove all plugins, just to be sure that this is no plugin problem? And have you checked that you are not emulating the Android Menu Button (long tap) in any scripts?
If these hints don't improve anything, then I've run out of ideas.