android bluetooth

 hello world! I have a problem. And, hope you could give me some advice.


I have a android bluetooth code, and I use HTC Aria to connect a remote device. The code is about to connect the device and read the data that device transfer. when the data is transfering, I want to show a progressbar at the same time. but I find that whenever the bluetooth is connected, the ui would be blocked, and of course the progressbar not work until the data transfer over. Do you face this problem? Can you give some advice? Thank you!