Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Keyboard gets automatically open

More
10 years 3 months ago #10918 by moontech
Keyboard gets automatically open after render finish of add new document.
How to disable it?
More
10 years 3 months ago - 10 years 3 months ago #10919 by nermeen
As this is a custom implementation, we can only suggest you the code to hide the keyboard
Code:
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 .
Last edit: 10 years 3 months ago by nermeen.
More
IP: 192.168.0.71 10 years 3 months ago - 10 years 3 months ago #10920 by moontech
When render a new document on the PDFView, after document get visible the soft keyboard opens by itself.
Last edit: 10 years 3 months ago by moontech.
More
10 years 3 months ago #10922 by nermeen
Does this happen in the demo project?
If yes, Can you please send us the pdf?
If no, Can you please share your code?
Time to create page: 0.355 seconds
Powered by Kunena Forum