This is an example for cardboard, but it answers a couple of your questions regarding how to handle input and the relation between a jme application and the android application:
That exampleis using the old sdk deployment routine. For a project I’m working on now I use this template:
Then I actually deploy through android studio. But it depends a bit on your workflow.