payload: {"action":"created","issue":{"url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/189","repository_url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary","labels_url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/189/comments","events_url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/189/events","html_url":"https://github.com/yipianfengye/android-zxingLibrary/issues/189","id":308448867,"node_id":"MDU6SXNzdWUzMDg0NDg4Njc=","number":189,"title":"CodeUtils.analyzeBitmap解析图片二维码，最新版本的第一个参数已经是path了，望博客和介绍都改一下","user":{"login":"SoStrongMan","id":23330517,"node_id":"MDQ6VXNlcjIzMzMwNTE3","avatar_url":"https://avatars2.githubusercontent.com/u/23330517?v=4","gravatar_id":"","url":"https://api.github.com/users/SoStrongMan","html_url":"https://github.com/SoStrongMan","followers_url":"https://api.github.com/users/SoStrongMan/followers","following_url":"https://api.github.com/users/SoStrongMan/following{/other_user}","gists_url":"https://api.github.com/users/SoStrongMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SoStrongMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoStrongMan/subscriptions","organizations_url":"https://api.github.com/users/SoStrongMan/orgs","repos_url":"https://api.github.com/users/SoStrongMan/repos","events_url":"https://api.github.com/users/SoStrongMan/events{/privacy}","received_events_url":"https://api.github.com/users/SoStrongMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-26T06:37:42Z","updated_at":"2019-05-06T09:51:44Z","closed_at":null,"author_association":"NONE","body":""},"comment":{"url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/comments/489566377","html_url":"https://github.com/yipianfengye/android-zxingLibrary/issues/189#issuecomment-489566377","issue_url":"https://api.github.com/repos/yipianfengye/android-zxingLibrary/issues/189","id":489566377,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4OTU2NjM3Nw==","user":{"login":"ztind","id":16821152,"node_id":"MDQ6VXNlcjE2ODIxMTUy","avatar_url":"https://avatars3.githubusercontent.com/u/16821152?v=4","gravatar_id":"","url":"https://api.github.com/users/ztind","html_url":"https://github.com/ztind","followers_url":"https://api.github.com/users/ztind/followers","following_url":"https://api.github.com/users/ztind/following{/other_user}","gists_url":"https://api.github.com/users/ztind/gists{/gist_id}","starred_url":"https://api.github.com/users/ztind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztind/subscriptions","organizations_url":"https://api.github.com/users/ztind/orgs","repos_url":"https://api.github.com/users/ztind/repos","events_url":"https://api.github.com/users/ztind/events{/privacy}","received_events_url":"https://api.github.com/users/ztind/received_events","type":"User","site_admin":false},"created_at":"2019-05-06T09:51:44Z","updated_at":"2019-05-06T09:51:44Z","author_association":"NONE","body":"  /**\r\n     *相册扫描回调\r\n     */\r\n    @Override\r\n    protected void onActivityResult(int requestCode, int resultCode, Intent data) {\r\n        super.onActivityResult(requestCode, resultCode, data);\r\n        if (requestCode == CustomCodeUtils.REQUEST_IMAGE) {\r\n            if (data != null) {\r\n                Uri uri = data.getData();\r\n                if (uri!=null) {\r\n                    try {\r\n                        CodeUtils.analyzeBitmap(ImageUtil.getImageAbsolutePath(this, uri), new CodeUtils.AnalyzeCallback() {\r\n                            @Override\r\n                            public void onAnalyzeSuccess(Bitmap mBitmap, String result) {\r\n                                //手机震动\r\n                                Vibrator vibrator = (Vibrator) getSystemService(VIBRATOR_SERVICE);\r\n                                vibrator.vibrate(200);\r\n                                //关闭当前activity,将二维码解析结果传递回前一activity/fragment\r\n                                Intent intent = new Intent();\r\n                                intent.putExtra(CodeUtils.RESULT_STRING, result);\r\n                                CustomScanCodeActivity.this.setResult(CustomCodeUtils.TYPE_XC_RETURN_CODE,intent);\r\n                                CustomScanCodeActivity.this.finish();\r\n                            }\r\n                            @Override\r\n                            public void onAnalyzeFailed() {\r\n                                ToasUtils.showToastMessage(\"请选择二维码/条形码\");\r\n                            }\r\n                        });\r\n                    } catch (Exception e) {\r\n                        e.printStackTrace();\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }"}}
other: {"actor":{"display_login":"ztind"}}