Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Keyboard gets automatically open 7 years 8 months ago #10918

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Keyboard gets automatically open after render finish of add new document.
How to disable it?

Please Log in or Create an account to join the conversation.

Keyboard gets automatically open 7 years 8 months ago #10919

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
As this is a custom implementation, we can only suggest you the code to hide the keyboard
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
 imm.hideSoftInputFromWindow(getWindowToken(), 0);

If this does not help, please share the code you are using so we can check it .

Please Log in or Create an account to join the conversation.

Last edit: by nermeen.

After render document keyboard opens 7 years 8 months ago #10920

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
When render a new document on the PDFView, after document get visible the soft keyboard opens by itself.

Please Log in or Create an account to join the conversation.

Last edit: by moontech.

Keyboard gets automatically open 7 years 8 months ago #10922

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Does this happen in the demo project?
If yes, Can you please send us the pdf?
If no, Can you please share your code?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum