added all function in test page to communicate with the android device
changhed front-end handler name