I am beginning to write an app for WP8 using Cordova. How do I show the soft keyboard without the user touching a text element? I can find soft keyboard plugin for Android and native code for iOS plugin but cant find anything for WP8.
Asked
Active
Viewed 562 times
0
-
1OK I ended up creating an invisible textbox, giving it focus to trigger the keyboard and handling its key events to do what I need. Works well, but I would still like to know if the keyboard can be shown without the textbox. – atlantis Feb 26 '14 at 08:49
-
No. The keyboard can only be shown when entering text. Your solution sounds like a good one. – Shawn Kendrot Feb 27 '14 at 00:12
-
Thanks for the response, Shawn. – atlantis Feb 27 '14 at 12:29
-
Is it somehow possible to invoke landscape keyboard programmatically? or change screen orientation programmatically? – locknies May 29 '14 at 06:06
-
@atlantis i'd suggest to post your solution as an aswer as it sounds like a good idea and solution. It would be probably easier for others to find it rather than checking comments :) – benka Sep 01 '14 at 11:24
1 Answers
0
[Posting as answer as suggested in the comments]
OK I ended up creating an invisible textbox, giving it focus to trigger the keyboard and handling its key events to do what I need. Works well, but I would still like to know if the keyboard can be shown without the textbox.

atlantis
- 817
- 1
- 10
- 16