Disable Soft Keyboard & screen Orientation

How can I disable android pop up keyboard and keep the screen in Portrait Mode all the time .

Disabling is keyboard is not possible: it’s part of the underlying UI. (Why would you want to do this?

You can prevent rotation using a PhoneGap Plugin.

Another approach is to allow the rotation, but put up a message asking to be rotated back. See the Orientation control:
https://wiki.nsbasic.com/Orientation