{"action":"created","comment":{"url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/comments/26436926","id":26436926,"diff_hunk":"@@ -0,0 +1,48 @@\n+package by.soloviev.mplayer;\n+\n+import android.app.Activity;\n+import android.content.Context;\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.view.View;\n+import android.widget.Button;\n+\n+public class MPlayerActivity extends Activity {\n+    private boolean isPlay = false;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_mplayer);\n+\n+        findViewById(R.id.play).setOnClickListener(new View.OnClickListener() {\n+\n+            @Override\n+            public void onClick(View v) {\n+                Intent playIntent = new Intent(MPlayerActivity.this, MPlayerService.class);\n+                Button button = (Button) v;\n+                if (isPlay) {\n+                    playIntent.setAction(MPlayerService.ACTION_PAUSE);\n+                    button.setText(\"Start\");","path":"01.UI/MSoloviev/4.1MPlayer/app/src/main/java/by/soloviev/mplayer/MPlayerActivity.java","position":26,"original_position":26,"commit_id":"31af35e90a4e5b26c8abb71d2e4ce28d3094e7bc","original_commit_id":"31af35e90a4e5b26c8abb71d2e4ce28d3094e7bc","user":{"login":"kirich1409","id":2403657,"avatar_url":"https://avatars.githubusercontent.com/u/2403657?v=3","gravatar_id":"","url":"https://api.github.com/users/kirich1409","html_url":"https://github.com/kirich1409","followers_url":"https://api.github.com/users/kirich1409/followers","following_url":"https://api.github.com/users/kirich1409/following{/other_user}","gists_url":"https://api.github.com/users/kirich1409/gists{/gist_id}","starred_url":"https://api.github.com/users/kirich1409/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirich1409/subscriptions","organizations_url":"https://api.github.com/users/kirich1409/orgs","repos_url":"https://api.github.com/users/kirich1409/repos","events_url":"https://api.github.com/users/kirich1409/events{/privacy}","received_events_url":"https://api.github.com/users/kirich1409/received_events","type":"User","site_admin":false},"body":"Текст не из ресурсов!","created_at":"2015-03-14T10:39:35Z","updated_at":"2015-03-14T10:39:35Z","html_url":"https://github.com/kirich1409/Android-Homework/pull/48#discussion_r26436926","pull_request_url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/comments/26436926"},"html":{"href":"https://github.com/kirich1409/Android-Homework/pull/48#discussion_r26436926"},"pull_request":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48","id":30414563,"html_url":"https://github.com/kirich1409/Android-Homework/pull/48","diff_url":"https://github.com/kirich1409/Android-Homework/pull/48.diff","patch_url":"https://github.com/kirich1409/Android-Homework/pull/48.patch","issue_url":"https://api.github.com/repos/kirich1409/Android-Homework/issues/48","number":48,"state":"open","locked":false,"title":"Soloviev_01 ui/04.01 m player","user":{"login":"mortr","id":10051644,"avatar_url":"https://avatars.githubusercontent.com/u/10051644?v=3","gravatar_id":"","url":"https://api.github.com/users/mortr","html_url":"https://github.com/mortr","followers_url":"https://api.github.com/users/mortr/followers","following_url":"https://api.github.com/users/mortr/following{/other_user}","gists_url":"https://api.github.com/users/mortr/gists{/gist_id}","starred_url":"https://api.github.com/users/mortr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortr/subscriptions","organizations_url":"https://api.github.com/users/mortr/orgs","repos_url":"https://api.github.com/users/mortr/repos","events_url":"https://api.github.com/users/mortr/events{/privacy}","received_events_url":"https://api.github.com/users/mortr/received_events","type":"User","site_admin":false},"body":"without_bind","created_at":"2015-03-03T21:31:31Z","updated_at":"2015-03-14T10:39:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"514e767f2a9d94efa51b1551feca7e9d1097875c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48/commits","review_comments_url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48/comments","review_comment_url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kirich1409/Android-Homework/issues/48/comments","statuses_url":"https://api.github.com/repos/kirich1409/Android-Homework/statuses/31af35e90a4e5b26c8abb71d2e4ce28d3094e7bc","head":{"label":"mortr:01UI/04.01MPlayer","ref":"01UI/04.01MPlayer","sha":"31af35e90a4e5b26c8abb71d2e4ce28d3094e7bc","user":{"login":"mortr","id":10051644,"avatar_url":"https://avatars.githubusercontent.com/u/10051644?v=3","gravatar_id":"","url":"https://api.github.com/users/mortr","html_url":"https://github.com/mortr","followers_url":"https://api.github.com/users/mortr/followers","following_url":"https://api.github.com/users/mortr/following{/other_user}","gists_url":"https://api.github.com/users/mortr/gists{/gist_id}","starred_url":"https://api.github.com/users/mortr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortr/subscriptions","organizations_url":"https://api.github.com/users/mortr/orgs","repos_url":"https://api.github.com/users/mortr/repos","events_url":"https://api.github.com/users/mortr/events{/privacy}","received_events_url":"https://api.github.com/users/mortr/received_events","type":"User","site_admin":false},"repo":{"id":30456754,"name":"Android-Homework","full_name":"mortr/Android-Homework","owner":{"login":"mortr","id":10051644,"avatar_url":"https://avatars.githubusercontent.com/u/10051644?v=3","gravatar_id":"","url":"https://api.github.com/users/mortr","html_url":"https://github.com/mortr","followers_url":"https://api.github.com/users/mortr/followers","following_url":"https://api.github.com/users/mortr/following{/other_user}","gists_url":"https://api.github.com/users/mortr/gists{/gist_id}","starred_url":"https://api.github.com/users/mortr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortr/subscriptions","organizations_url":"https://api.github.com/users/mortr/orgs","repos_url":"https://api.github.com/users/mortr/repos","events_url":"https://api.github.com/users/mortr/events{/privacy}","received_events_url":"https://api.github.com/users/mortr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mortr/Android-Homework","description":"","fork":true,"url":"https://api.github.com/repos/mortr/Android-Homework","forks_url":"https://api.github.com/repos/mortr/Android-Homework/forks","keys_url":"https://api.github.com/repos/mortr/Android-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mortr/Android-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mortr/Android-Homework/teams","hooks_url":"https://api.github.com/repos/mortr/Android-Homework/hooks","issue_events_url":"https://api.github.com/repos/mortr/Android-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/mortr/Android-Homework/events","assignees_url":"https://api.github.com/repos/mortr/Android-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/mortr/Android-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/mortr/Android-Homework/tags","blobs_url":"https://api.github.com/repos/mortr/Android-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mortr/Android-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mortr/Android-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/mortr/Android-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mortr/Android-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/mortr/Android-Homework/languages","stargazers_url":"https://api.github.com/repos/mortr/Android-Homework/stargazers","contributors_url":"https://api.github.com/repos/mortr/Android-Homework/contributors","subscribers_url":"https://api.github.com/repos/mortr/Android-Homework/subscribers","subscription_url":"https://api.github.com/repos/mortr/Android-Homework/subscription","commits_url":"https://api.github.com/repos/mortr/Android-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/mortr/Android-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/mortr/Android-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/mortr/Android-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/mortr/Android-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/mortr/Android-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mortr/Android-Homework/merges","archive_url":"https://api.github.com/repos/mortr/Android-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mortr/Android-Homework/downloads","issues_url":"https://api.github.com/repos/mortr/Android-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/mortr/Android-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/mortr/Android-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/mortr/Android-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mortr/Android-Homework/labels{/name}","releases_url":"https://api.github.com/repos/mortr/Android-Homework/releases{/id}","created_at":"2015-02-07T13:37:37Z","updated_at":"2015-02-12T19:42:32Z","pushed_at":"2015-03-13T19:25:21Z","git_url":"git://github.com/mortr/Android-Homework.git","ssh_url":"git@github.com:mortr/Android-Homework.git","clone_url":"https://github.com/mortr/Android-Homework.git","svn_url":"https://github.com/mortr/Android-Homework","homepage":"","size":2691,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kirich1409:master","ref":"master","sha":"1ac6d451fc7c66603a7e0b9b621a8c49236a7031","user":{"login":"kirich1409","id":2403657,"avatar_url":"https://avatars.githubusercontent.com/u/2403657?v=3","gravatar_id":"","url":"https://api.github.com/users/kirich1409","html_url":"https://github.com/kirich1409","followers_url":"https://api.github.com/users/kirich1409/followers","following_url":"https://api.github.com/users/kirich1409/following{/other_user}","gists_url":"https://api.github.com/users/kirich1409/gists{/gist_id}","starred_url":"https://api.github.com/users/kirich1409/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirich1409/subscriptions","organizations_url":"https://api.github.com/users/kirich1409/orgs","repos_url":"https://api.github.com/users/kirich1409/repos","events_url":"https://api.github.com/users/kirich1409/events{/privacy}","received_events_url":"https://api.github.com/users/kirich1409/received_events","type":"User","site_admin":false},"repo":{"id":30448989,"name":"Android-Homework","full_name":"kirich1409/Android-Homework","owner":{"login":"kirich1409","id":2403657,"avatar_url":"https://avatars.githubusercontent.com/u/2403657?v=3","gravatar_id":"","url":"https://api.github.com/users/kirich1409","html_url":"https://github.com/kirich1409","followers_url":"https://api.github.com/users/kirich1409/followers","following_url":"https://api.github.com/users/kirich1409/following{/other_user}","gists_url":"https://api.github.com/users/kirich1409/gists{/gist_id}","starred_url":"https://api.github.com/users/kirich1409/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirich1409/subscriptions","organizations_url":"https://api.github.com/users/kirich1409/orgs","repos_url":"https://api.github.com/users/kirich1409/repos","events_url":"https://api.github.com/users/kirich1409/events{/privacy}","received_events_url":"https://api.github.com/users/kirich1409/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirich1409/Android-Homework","description":"","fork":false,"url":"https://api.github.com/repos/kirich1409/Android-Homework","forks_url":"https://api.github.com/repos/kirich1409/Android-Homework/forks","keys_url":"https://api.github.com/repos/kirich1409/Android-Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirich1409/Android-Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirich1409/Android-Homework/teams","hooks_url":"https://api.github.com/repos/kirich1409/Android-Homework/hooks","issue_events_url":"https://api.github.com/repos/kirich1409/Android-Homework/issues/events{/number}","events_url":"https://api.github.com/repos/kirich1409/Android-Homework/events","assignees_url":"https://api.github.com/repos/kirich1409/Android-Homework/assignees{/user}","branches_url":"https://api.github.com/repos/kirich1409/Android-Homework/branches{/branch}","tags_url":"https://api.github.com/repos/kirich1409/Android-Homework/tags","blobs_url":"https://api.github.com/repos/kirich1409/Android-Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirich1409/Android-Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirich1409/Android-Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirich1409/Android-Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirich1409/Android-Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/kirich1409/Android-Homework/languages","stargazers_url":"https://api.github.com/repos/kirich1409/Android-Homework/stargazers","contributors_url":"https://api.github.com/repos/kirich1409/Android-Homework/contributors","subscribers_url":"https://api.github.com/repos/kirich1409/Android-Homework/subscribers","subscription_url":"https://api.github.com/repos/kirich1409/Android-Homework/subscription","commits_url":"https://api.github.com/repos/kirich1409/Android-Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirich1409/Android-Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirich1409/Android-Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirich1409/Android-Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirich1409/Android-Homework/contents/{+path}","compare_url":"https://api.github.com/repos/kirich1409/Android-Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirich1409/Android-Homework/merges","archive_url":"https://api.github.com/repos/kirich1409/Android-Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirich1409/Android-Homework/downloads","issues_url":"https://api.github.com/repos/kirich1409/Android-Homework/issues{/number}","pulls_url":"https://api.github.com/repos/kirich1409/Android-Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/kirich1409/Android-Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/kirich1409/Android-Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirich1409/Android-Homework/labels{/name}","releases_url":"https://api.github.com/repos/kirich1409/Android-Homework/releases{/id}","created_at":"2015-02-07T07:37:00Z","updated_at":"2015-02-26T08:09:12Z","pushed_at":"2015-02-26T08:09:12Z","git_url":"git://github.com/kirich1409/Android-Homework.git","ssh_url":"git@github.com:kirich1409/Android-Homework.git","clone_url":"https://github.com/kirich1409/Android-Homework.git","svn_url":"https://github.com/kirich1409/Android-Homework","homepage":null,"size":7221,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":10,"forks":10,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48"},"html":{"href":"https://github.com/kirich1409/Android-Homework/pull/48"},"issue":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/issues/48"},"comments":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/kirich1409/Android-Homework/statuses/31af35e90a4e5b26c8abb71d2e4ce28d3094e7bc"}}}}