问题描述 EMContactManager.getInstance().addContact(username,"");使用这个方法的时候提示错误:com.easemob.exceptions.EaseMobException: connection is not connectedapplication里我已经初始化,并且返回的是true.求助 急!!!另外题外话:不添加好友是不是也可以聊天的. 解决方案 自己查到了.密码修改了,没有同步过来.
问题描述 inotify检测不到/proc目录变化 使用inotify机制检测目录创建和删除动作,除了/proc目录不能检测,其他目录都可以捕捉到目录创建和删除动作,是因为/proc是虚拟文件系统就检测不到吗,求助~~~~急急急~~~ 附:用到的函数 inotify_init inotify_add_watch select监听文件描述 read 解决方案 对的,因为它不是一个文件夹,所以也就没有创建和删除 参考 Notify of changes on a file under /proc,里