[求助] 删除好友删除不了
在我的APP上可以添加好友,但是进行删除操作后,也没报错logcat上也有显示
06-12 19:05:33.614: D/EMConversationManager(14693): remove conversation for user: C10013
06-12 19:05:33.633: D/EMConversationManager(14693): get conversation for user:C10013
06-12 19:05:33.652: D/EMConversationManager(14693): remove conversation for user: C10013
06-12 19:05:33.654: D/EMConversationManager(14693): get conversation for user:C10013
06-12 19:05:33.657: D/EMDBManager(14693): delete chat msgs with:C10013 return:0
用demo上的删除就可以.我又漏了什么吗?
case R.id.btn_friend_detail_canclecust: // 删除好友
new Thread(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
try {
**.out.println("刪除ID" + "C" + mCustomerBean.getCust_id());
EMContactManager.getInstance().deleteContact("C" + mCustomerBean.getCust_id());
runOnUiThread(new Runnable() {
public void run() {
//....本地操作
}
});
} catch (bException e) {
e.printStackTrace();
}
}
}).start();
06-12 19:05:33.614: D/EMConversationManager(14693): remove conversation for user: C10013
06-12 19:05:33.633: D/EMConversationManager(14693): get conversation for user:C10013
06-12 19:05:33.652: D/EMConversationManager(14693): remove conversation for user: C10013
06-12 19:05:33.654: D/EMConversationManager(14693): get conversation for user:C10013
06-12 19:05:33.657: D/EMDBManager(14693): delete chat msgs with:C10013 return:0
用demo上的删除就可以.我又漏了什么吗?
case R.id.btn_friend_detail_canclecust: // 删除好友
new Thread(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
try {
**.out.println("刪除ID" + "C" + mCustomerBean.getCust_id());
EMContactManager.getInstance().deleteContact("C" + mCustomerBean.getCust_id());
runOnUiThread(new Runnable() {
public void run() {
//....本地操作
}
});
} catch (bException e) {
e.printStackTrace();
}
}
}).start();
没有找到相关结果
已邀请:
1 个回复
admin - imgeek管理员