case 5:
try {
outStream = btSocket.getOutputStream(); } catch (IOException e) {
}
//message = ExternValues.myphoneid + "5";
message = "5";
msgBuffer = message.getBytes(); try {
outStream.write(msgBuffer);
DisplayToast("正在发送flag为5");
outStream.flush();
flag = 0;
} catch (IOException e) {
flag = 0;
}
break;
分步调试的时候到outStream的地方就卡住了,没有发送出去。一直不往下运行,不知道是为什么,跪求大神回答
try {
outStream = btSocket.getOutputStream(); } catch (IOException e) {
}
//message = ExternValues.myphoneid + "5";
message = "5";
msgBuffer = message.getBytes(); try {
outStream.write(msgBuffer);
DisplayToast("正在发送flag为5");
outStream.flush();
flag = 0;
} catch (IOException e) {
flag = 0;
}
break;
分步调试的时候到outStream的地方就卡住了,没有发送出去。一直不往下运行,不知道是为什么,跪求大神回答
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货