I am aware that i could just use the playstation app, but I'm specifically looking to be able to enter an account password remotely without showing the password on the android device ,the app should connect to PS4 (as a bluetooth keyboard i guess), then retrieve the password (from a server for example) and then pass it to PS4, there are a few open source projects that allow android to emulate a keyboard but they require root.
If this can't work please specify why you think it can't, that would be very helpful.