{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/comments/65851485","id":65851485,"diff_hunk":"@@ -0,0 +1,105 @@\n+package com.framgia.gifcreator.ui.activity;\n+\n+import android.content.ContentValues;\n+import android.content.Intent;\n+import android.database.Cursor;\n+import android.graphics.Bitmap;\n+import android.graphics.BitmapFactory;\n+import android.net.Uri;\n+import android.os.Bundle;\n+import android.provider.MediaStore;\n+import android.support.design.widget.FloatingActionButton;\n+import android.support.v7.app.AppCompatActivity;\n+import android.view.View;\n+import android.widget.ImageView;\n+import android.widget.LinearLayout;\n+\n+import com.framgia.gifcreator.R;\n+import com.framgia.gifcreator.ui.widget.FloatingButton;\n+\n+public class MainActivity extends AppCompatActivity {\n+\n+    private final static int REQUEST_CAMERA = 1;\n+    private final static int REQUEST_GALLERY = 2;\n+    private final static String CAMERA_IMAGE_TITLE = \"Gif Creator\";\n+    private final static String CAMERA_IMAGE_DESCRIPTION = \"Image Description\";\n+    private LinearLayout mFloatingMenu;\n+    private FloatingActionButton mMainFab;\n+    private FloatingButton mFabCamera;\n+    private FloatingButton mFabGallery;\n+    private ImageView mImage;\n+    private Uri mImageUri;\n+    private ContentValues mValues;\n+    private View.OnClickListener mFabOnClickListener = new View.OnClickListener() {\n+        @Override\n+        public void onClick(View v) {\n+            if (v == mFabCamera) {","path":"GifCreator/app/src/main/java/com/framgia/gifcreator/ui/activity/MainActivity.java","position":36,"original_position":36,"commit_id":"419c8445bbeadb1a26e268e1090ac4b6f2e396b0","original_commit_id":"419c8445bbeadb1a26e268e1090ac4b6f2e396b0","user":{"login":"dongcp","id":11482705,"avatar_url":"https://avatars.githubusercontent.com/u/11482705?v=3","gravatar_id":"","url":"https://api.github.com/users/dongcp","html_url":"https://github.com/dongcp","followers_url":"https://api.github.com/users/dongcp/followers","following_url":"https://api.github.com/users/dongcp/following{/other_user}","gists_url":"https://api.github.com/users/dongcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dongcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongcp/subscriptions","organizations_url":"https://api.github.com/users/dongcp/orgs","repos_url":"https://api.github.com/users/dongcp/repos","events_url":"https://api.github.com/users/dongcp/events{/privacy}","received_events_url":"https://api.github.com/users/dongcp/received_events","type":"User","site_admin":false},"body":"v.getId()==R.id.btn khác gì so với v==button hả a?","created_at":"2016-06-06T08:14:16Z","updated_at":"2016-06-06T08:14:16Z","html_url":"https://github.com/framgia/GiffCreator_01/pull/3#discussion_r65851485","pull_request_url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/comments/65851485"},"html":{"href":"https://github.com/framgia/GiffCreator_01/pull/3#discussion_r65851485"},"pull_request":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3","id":72293177,"html_url":"https://github.com/framgia/GiffCreator_01/pull/3","diff_url":"https://github.com/framgia/GiffCreator_01/pull/3.diff","patch_url":"https://github.com/framgia/GiffCreator_01/pull/3.patch","issue_url":"https://api.github.com/repos/framgia/GiffCreator_01/issues/3","number":3,"state":"open","locked":false,"title":"get photo from camera","user":{"login":"dongcp","id":11482705,"avatar_url":"https://avatars.githubusercontent.com/u/11482705?v=3","gravatar_id":"","url":"https://api.github.com/users/dongcp","html_url":"https://github.com/dongcp","followers_url":"https://api.github.com/users/dongcp/followers","following_url":"https://api.github.com/users/dongcp/following{/other_user}","gists_url":"https://api.github.com/users/dongcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dongcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongcp/subscriptions","organizations_url":"https://api.github.com/users/dongcp/orgs","repos_url":"https://api.github.com/users/dongcp/repos","events_url":"https://api.github.com/users/dongcp/events{/privacy}","received_events_url":"https://api.github.com/users/dongcp/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-02T06:01:25Z","updated_at":"2016-06-06T08:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6d55e015e6e6cbe562bcb6d5043374fe805caf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3/commits","review_comments_url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3/comments","review_comment_url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/GiffCreator_01/issues/3/comments","statuses_url":"https://api.github.com/repos/framgia/GiffCreator_01/statuses/419c8445bbeadb1a26e268e1090ac4b6f2e396b0","head":{"label":"dongcp:task2","ref":"task2","sha":"419c8445bbeadb1a26e268e1090ac4b6f2e396b0","user":{"login":"dongcp","id":11482705,"avatar_url":"https://avatars.githubusercontent.com/u/11482705?v=3","gravatar_id":"","url":"https://api.github.com/users/dongcp","html_url":"https://github.com/dongcp","followers_url":"https://api.github.com/users/dongcp/followers","following_url":"https://api.github.com/users/dongcp/following{/other_user}","gists_url":"https://api.github.com/users/dongcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dongcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongcp/subscriptions","organizations_url":"https://api.github.com/users/dongcp/orgs","repos_url":"https://api.github.com/users/dongcp/repos","events_url":"https://api.github.com/users/dongcp/events{/privacy}","received_events_url":"https://api.github.com/users/dongcp/received_events","type":"User","site_admin":false},"repo":{"id":60223920,"name":"GiffCreator_01","full_name":"dongcp/GiffCreator_01","owner":{"login":"dongcp","id":11482705,"avatar_url":"https://avatars.githubusercontent.com/u/11482705?v=3","gravatar_id":"","url":"https://api.github.com/users/dongcp","html_url":"https://github.com/dongcp","followers_url":"https://api.github.com/users/dongcp/followers","following_url":"https://api.github.com/users/dongcp/following{/other_user}","gists_url":"https://api.github.com/users/dongcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dongcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongcp/subscriptions","organizations_url":"https://api.github.com/users/dongcp/orgs","repos_url":"https://api.github.com/users/dongcp/repos","events_url":"https://api.github.com/users/dongcp/events{/privacy}","received_events_url":"https://api.github.com/users/dongcp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dongcp/GiffCreator_01","description":"","fork":true,"url":"https://api.github.com/repos/dongcp/GiffCreator_01","forks_url":"https://api.github.com/repos/dongcp/GiffCreator_01/forks","keys_url":"https://api.github.com/repos/dongcp/GiffCreator_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dongcp/GiffCreator_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dongcp/GiffCreator_01/teams","hooks_url":"https://api.github.com/repos/dongcp/GiffCreator_01/hooks","issue_events_url":"https://api.github.com/repos/dongcp/GiffCreator_01/issues/events{/number}","events_url":"https://api.github.com/repos/dongcp/GiffCreator_01/events","assignees_url":"https://api.github.com/repos/dongcp/GiffCreator_01/assignees{/user}","branches_url":"https://api.github.com/repos/dongcp/GiffCreator_01/branches{/branch}","tags_url":"https://api.github.com/repos/dongcp/GiffCreator_01/tags","blobs_url":"https://api.github.com/repos/dongcp/GiffCreator_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dongcp/GiffCreator_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dongcp/GiffCreator_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/dongcp/GiffCreator_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dongcp/GiffCreator_01/statuses/{sha}","languages_url":"https://api.github.com/repos/dongcp/GiffCreator_01/languages","stargazers_url":"https://api.github.com/repos/dongcp/GiffCreator_01/stargazers","contributors_url":"https://api.github.com/repos/dongcp/GiffCreator_01/contributors","subscribers_url":"https://api.github.com/repos/dongcp/GiffCreator_01/subscribers","subscription_url":"https://api.github.com/repos/dongcp/GiffCreator_01/subscription","commits_url":"https://api.github.com/repos/dongcp/GiffCreator_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/dongcp/GiffCreator_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/dongcp/GiffCreator_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/dongcp/GiffCreator_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/dongcp/GiffCreator_01/contents/{+path}","compare_url":"https://api.github.com/repos/dongcp/GiffCreator_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dongcp/GiffCreator_01/merges","archive_url":"https://api.github.com/repos/dongcp/GiffCreator_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dongcp/GiffCreator_01/downloads","issues_url":"https://api.github.com/repos/dongcp/GiffCreator_01/issues{/number}","pulls_url":"https://api.github.com/repos/dongcp/GiffCreator_01/pulls{/number}","milestones_url":"https://api.github.com/repos/dongcp/GiffCreator_01/milestones{/number}","notifications_url":"https://api.github.com/repos/dongcp/GiffCreator_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dongcp/GiffCreator_01/labels{/name}","releases_url":"https://api.github.com/repos/dongcp/GiffCreator_01/releases{/id}","deployments_url":"https://api.github.com/repos/dongcp/GiffCreator_01/deployments","created_at":"2016-06-02T01:50:39Z","updated_at":"2016-06-02T01:46:03Z","pushed_at":"2016-06-06T06:14:04Z","git_url":"git://github.com/dongcp/GiffCreator_01.git","ssh_url":"git@github.com:dongcp/GiffCreator_01.git","clone_url":"https://github.com/dongcp/GiffCreator_01.git","svn_url":"https://github.com/dongcp/GiffCreator_01","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"ae30fb00ef5bec90275c62a5be706a438a9184a0","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":60223641,"name":"GiffCreator_01","full_name":"framgia/GiffCreator_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/GiffCreator_01","description":"","fork":false,"url":"https://api.github.com/repos/framgia/GiffCreator_01","forks_url":"https://api.github.com/repos/framgia/GiffCreator_01/forks","keys_url":"https://api.github.com/repos/framgia/GiffCreator_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/GiffCreator_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/GiffCreator_01/teams","hooks_url":"https://api.github.com/repos/framgia/GiffCreator_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/GiffCreator_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/GiffCreator_01/events","assignees_url":"https://api.github.com/repos/framgia/GiffCreator_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/GiffCreator_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/GiffCreator_01/tags","blobs_url":"https://api.github.com/repos/framgia/GiffCreator_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/GiffCreator_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/GiffCreator_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/GiffCreator_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/GiffCreator_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/GiffCreator_01/languages","stargazers_url":"https://api.github.com/repos/framgia/GiffCreator_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/GiffCreator_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/GiffCreator_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/GiffCreator_01/subscription","commits_url":"https://api.github.com/repos/framgia/GiffCreator_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/GiffCreator_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/GiffCreator_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/GiffCreator_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/GiffCreator_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/GiffCreator_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/GiffCreator_01/merges","archive_url":"https://api.github.com/repos/framgia/GiffCreator_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/GiffCreator_01/downloads","issues_url":"https://api.github.com/repos/framgia/GiffCreator_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/GiffCreator_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/GiffCreator_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/GiffCreator_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/GiffCreator_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/GiffCreator_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/GiffCreator_01/deployments","created_at":"2016-06-02T01:46:03Z","updated_at":"2016-06-02T01:46:03Z","pushed_at":"2016-06-06T06:14:04Z","git_url":"git://github.com/framgia/GiffCreator_01.git","ssh_url":"git@github.com:framgia/GiffCreator_01.git","clone_url":"https://github.com/framgia/GiffCreator_01.git","svn_url":"https://github.com/framgia/GiffCreator_01","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3"},"html":{"href":"https://github.com/framgia/GiffCreator_01/pull/3"},"issue":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/issues/3"},"comments":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/GiffCreator_01/statuses/419c8445bbeadb1a26e268e1090ac4b6f2e396b0"}}}}
{"actor":{"display_login":"dongcp"}}