src/core/android/SDL_android.c
changeset 7564 d2bc997ef5d6
parent 7552 463f78515a07
child 7567 52da75545aaa
     1.1 --- a/src/core/android/SDL_android.c	Thu Aug 01 09:15:36 2013 -0700
     1.2 +++ b/src/core/android/SDL_android.c	Fri Aug 02 12:38:39 2013 -0300
     1.3 @@ -162,6 +162,15 @@
     1.4      Android_OnKeyUp(keycode);
     1.5  }
     1.6  
     1.7 +// Keyboard Focus Lost
     1.8 +void Java_org_libsdl_app_SDLActivity_onNativeKeyboardFocusLost(
     1.9 +                                    JNIEnv* env, jclass jcls)
    1.10 +{
    1.11 +    /* Calling SDL_StopTextInput will take care of hiding the keyboard and cleaning up the DummyText widget */
    1.12 +    SDL_StopTextInput();
    1.13 +}
    1.14 +
    1.15 +
    1.16  // Touch
    1.17  void Java_org_libsdl_app_SDLActivity_onNativeTouch(
    1.18                                      JNIEnv* env, jclass jcls,