Thread and handler for bt->android communication