When I try to use ANativeActivity_showSoftInput(), it doesn't bring up
the soft keyboard.

I have tried using ANativeActivity_showSoftInput(engine->app-
>activity, ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED) and
ANativeActivity_showSoftInput(engine->app->activity,
ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT) to show softinput, but also
failed.

I read the source code, and I found after start nativeActivity,
NativeContentView(extend View) will be created, and when call
ANativeActivity_showSoftInput, it will call showSoftInput() in java
side. I think maybe the softkeyboard is not turned on.

Can you help me?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to