added java objects to javascript its done in the AppRunnerActivity now
method to connect to bluetooth using the UI
ip address returns -1 when not connected to any wifi