Showdy Shu

Results 17 comments of Showdy Shu

/** * Preconcats the matrix with the specified translation. * M' = M * T(dx, dy) */ public boolean preTranslate(float dx, float dy) { native_preTranslate(native_instance, dx, dy); return true; }...

大佬,我想在Activity的onResume中连接,onStop中断开连接,但是onStop()中调用EasySocket.getInstance().destroyConnection()并没起作用。

好的 ,多谢

那到没有,只是一直收到不到数据,然后刷屏错误日志,断开的连接的也没有回调

并没有主动断开,可能就是自己断开了

在连接成功后的回调中发送消息,无效!发不出去。。。

我这边用个延时操作,发送消息就可以了,如果在连接成功的回调中,立即发送消息,会发不出去。

是的,日志并没有打印,我试过很多次,不过加一个延时发送的命令的操作就可以了