{"action":"created","issue":{"url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/25","repository_url":"https://api.github.com/repos/lamster2018/EasyProtector","labels_url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/25/comments","events_url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/25/events","html_url":"https://github.com/lamster2018/EasyProtector/issues/25","id":397644932,"node_id":"MDU6SXNzdWUzOTc2NDQ5MzI=","number":25,"title":"基于Socket，真正的一行代码检测多开哦","user":{"login":"wangkunlin","id":8307768,"node_id":"MDQ6VXNlcjgzMDc3Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/8307768?v=4","gravatar_id":"","url":"https://api.github.com/users/wangkunlin","html_url":"https://github.com/wangkunlin","followers_url":"https://api.github.com/users/wangkunlin/followers","following_url":"https://api.github.com/users/wangkunlin/following{/other_user}","gists_url":"https://api.github.com/users/wangkunlin/gists{/gist_id}","starred_url":"https://api.github.com/users/wangkunlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangkunlin/subscriptions","organizations_url":"https://api.github.com/users/wangkunlin/orgs","repos_url":"https://api.github.com/users/wangkunlin/repos","events_url":"https://api.github.com/users/wangkunlin/events{/privacy}","received_events_url":"https://api.github.com/users/wangkunlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-01-10T02:22:24Z","updated_at":"2019-02-22T02:14:39Z","closed_at":null,"author_association":"NONE","body":"```java\r\npublic class App extends Application {\r\n\r\n    LocalServerSocket mServerSocket;\r\n\r\n    @Override\r\n    public void onCreate() {\r\n        super.onCreate();\r\n        try {\r\n            // 借鉴自 AMS 与 zygote 通信\r\n            mServerSocket = new LocalServerSocket(getPackageName());\r\n        } catch (IOException e) {\r\n            throw new RuntimeException(e);\r\n        }\r\n    }\r\n}\r\n```\r\n不需要开线程，不需要遍历端口，只需要一个唯一确定的名字即可。唯一的缺点是多开的 app 之间无法通信，是因为 SELinux 的保护机制限制了文件访问权限"},"comment":{"url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/comments/466246160","html_url":"https://github.com/lamster2018/EasyProtector/issues/25#issuecomment-466246160","issue_url":"https://api.github.com/repos/lamster2018/EasyProtector/issues/25","id":466246160,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NjI0NjE2MA==","user":{"login":"myfGitup","id":22582151,"node_id":"MDQ6VXNlcjIyNTgyMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/22582151?v=4","gravatar_id":"","url":"https://api.github.com/users/myfGitup","html_url":"https://github.com/myfGitup","followers_url":"https://api.github.com/users/myfGitup/followers","following_url":"https://api.github.com/users/myfGitup/following{/other_user}","gists_url":"https://api.github.com/users/myfGitup/gists{/gist_id}","starred_url":"https://api.github.com/users/myfGitup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfGitup/subscriptions","organizations_url":"https://api.github.com/users/myfGitup/orgs","repos_url":"https://api.github.com/users/myfGitup/repos","events_url":"https://api.github.com/users/myfGitup/events{/privacy}","received_events_url":"https://api.github.com/users/myfGitup/received_events","type":"User","site_admin":false},"created_at":"2019-02-22T02:14:39Z","updated_at":"2019-02-22T02:14:39Z","author_association":"NONE","body":"> @myfGitup 多个方案综合起来用呗。另外你说的那个非常nb的多开是哪个应用啊。\r\n\r\n这个应用的名字叫做  多开分身"}}
{"actor":{"display_login":"myfGitup"}}