Implement a new thread to handle the message from android phone.