There is an app which would let you customize the camera key. How about implementing this whole idea with him, making a portrait keyboard first and have an option with his app to press the camera key and the portrait keyboard pops up in portrait browsing?