Nahue Nahue - 1 year ago 84
Android Question

How to avoid keyboard from appearing with starting FilePickerActivity

I have a button in an activity that starts a

. Everything works as expected except for the soft keyboard that appears right when the activity starts. I've already tried using the following code line but I can't use it INSIDE the FilePickerActivity because I can't modify it:

Is there an extra that I can put in the intent or something to tell that
to NOT open the soft keyboard on start?

Thanks in advance!

Answer Source

Add this line in your activity tag in manifest:


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download