Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2301] Android: Allow Explicity Attempt to Hide Soft Keyboard

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, feature, rplist
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T03:16:08.000+0000
Updated2011-04-17T01:58:42.000+0000

Description

There are various circumstances where an app developer might want to hide the soft input method. Expose a method Ti.UI.Android.hideSoftKeyboard() to allow them to make the request.

Note: Hiding is globally possible, showing doesn't seem to work unless there is an explicit view that accepts input.

Comments

  1. Don Thorp 2011-04-15

    Note: It is also still not possible to determine if the keyboard is visible.

  2. Don Thorp 2011-04-15

    (from [52b4c5944c8179dca32f49c6950f79ccf59bdc5d]) [#2301 state:fixed-in-qa] Added support to hide soft keyboard. Example/Test added demos/KitchenSink/Resources/examples/android_hide_softkeyboard.js https://github.com/appcelerator/titanium_mobile/commit/52b4c5944c8179dca32f49c6950f79ccf59bdc5d"> https://github.com/appcelerator/titanium_mobile/commit/52b4c5944c81...

  3. Don Thorp 2011-04-15

    (from [d1c3094111c9d995a400b026d9bdb0619883f4b5]) [#2301 state:fixed-in-qa] Added support to hide soft keyboard. Example/Test added demos/KitchenSink/Resources/examples/android_hide_softkeyboard.js https://github.com/appcelerator/titanium_mobile/commit/d1c3094111c9d995a400b026d9bdb0619883f4b5"> https://github.com/appcelerator/titanium_mobile/commit/d1c3094111c9...

  4. Thomas Huelbert 2011-04-15

    closed against 1.5.0.602d6d G2 2.2 G1 1.6 sim 2.1

  5. Bill Dawson 2011-04-15

    (from [6ea06e4d40abfa934dd525a9ea3588ead47b8d4b]) [#2301] Use KrollInvocation to ensure that hideSoftKeyboard uses correct Activity https://github.com/appcelerator/titanium_mobile/commit/6ea06e4d40abfa934dd525a9ea3588ead47b8d4b"> https://github.com/appcelerator/titanium_mobile/commit/6ea06e4d40ab...

JSON Source