{"action":"created","issue":{"url":"https://api.github.com/repos/android-cn/android-discuss/issues/185","repository_url":"https://api.github.com/repos/android-cn/android-discuss","labels_url":"https://api.github.com/repos/android-cn/android-discuss/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/android-cn/android-discuss/issues/185/comments","events_url":"https://api.github.com/repos/android-cn/android-discuss/issues/185/events","html_url":"https://github.com/android-cn/android-discuss/issues/185","id":86044586,"number":185,"title":"如何检测AudioRecord是否获得了录音权限？","user":{"login":"start141","id":6055764,"avatar_url":"https://avatars.githubusercontent.com/u/6055764?v=3","gravatar_id":"","url":"https://api.github.com/users/start141","html_url":"https://github.com/start141","followers_url":"https://api.github.com/users/start141/followers","following_url":"https://api.github.com/users/start141/following{/other_user}","gists_url":"https://api.github.com/users/start141/gists{/gist_id}","starred_url":"https://api.github.com/users/start141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/start141/subscriptions","organizations_url":"https://api.github.com/users/start141/orgs","repos_url":"https://api.github.com/users/start141/repos","events_url":"https://api.github.com/users/start141/events{/privacy}","received_events_url":"https://api.github.com/users/start141/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2015-06-08T06:17:17Z","updated_at":"2016-11-22T09:55:17Z","closed_at":null,"body":"MediaRecorder可以给prepare和start方法加try catch判断是否获得了录音权限。\n但是这招在AudioRecord上却不起效，并不会抛异常。\n\n有人知道有什么方法可以判断AudioRecord是否获得了录音权限吗？\n"},"comment":{"url":"https://api.github.com/repos/android-cn/android-discuss/issues/comments/262196074","html_url":"https://github.com/android-cn/android-discuss/issues/185#issuecomment-262196074","issue_url":"https://api.github.com/repos/android-cn/android-discuss/issues/185","id":262196074,"user":{"login":"cnryb","id":3817284,"avatar_url":"https://avatars.githubusercontent.com/u/3817284?v=3","gravatar_id":"","url":"https://api.github.com/users/cnryb","html_url":"https://github.com/cnryb","followers_url":"https://api.github.com/users/cnryb/followers","following_url":"https://api.github.com/users/cnryb/following{/other_user}","gists_url":"https://api.github.com/users/cnryb/gists{/gist_id}","starred_url":"https://api.github.com/users/cnryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnryb/subscriptions","organizations_url":"https://api.github.com/users/cnryb/orgs","repos_url":"https://api.github.com/users/cnryb/repos","events_url":"https://api.github.com/users/cnryb/events{/privacy}","received_events_url":"https://api.github.com/users/cnryb/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T09:55:17Z","updated_at":"2016-11-22T09:55:17Z","body":"试试这这个 http://blog.flyou.ren/?p=293"}}
{"actor":{"display_login":"cnryb"}}