{"action":"created","comment":{"url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/comments/23136600","id":23136600,"diff_hunk":"@@ -0,0 +1,123 @@\n+package shambala.md.ifmo.photoofthday;\n+\n+import android.app.IntentService;\n+import android.content.ContentValues;\n+import android.content.Context;\n+import android.content.Intent;\n+import android.database.Cursor;\n+import android.graphics.Bitmap;\n+import android.graphics.BitmapFactory;\n+import android.os.Bundle;\n+import android.os.ResultReceiver;\n+import android.util.Log;\n+\n+import org.json.JSONArray;\n+import org.json.JSONObject;\n+\n+import java.io.BufferedReader;\n+import java.io.FileNotFoundException;\n+import java.io.FileOutputStream;\n+import java.io.IOException;\n+import java.io.InputStreamReader;\n+import java.net.URL;\n+import java.net.URLConnection;\n+import java.util.ArrayList;\n+\n+/**\n+ * Created by 107476 on 10.01.2015.\n+ */\n+public class ImageUpdater extends IntentService {\n+    public static final String url = \"http://api-fotki.yandex.ru/api/podhistory/?format=json\";","path":"app/src/main/java/shambala/md/ifmo/photoofthday/ImageUpdater.java","position":30,"original_position":30,"commit_id":"329658bfe309b343468f481301430ae56f838727","original_commit_id":"329658bfe309b343468f481301430ae56f838727","user":{"login":"svasilinets","id":618966,"avatar_url":"https://avatars.githubusercontent.com/u/618966?v=3","gravatar_id":"","url":"https://api.github.com/users/svasilinets","html_url":"https://github.com/svasilinets","followers_url":"https://api.github.com/users/svasilinets/followers","following_url":"https://api.github.com/users/svasilinets/following{/other_user}","gists_url":"https://api.github.com/users/svasilinets/gists{/gist_id}","starred_url":"https://api.github.com/users/svasilinets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svasilinets/subscriptions","organizations_url":"https://api.github.com/users/svasilinets/orgs","repos_url":"https://api.github.com/users/svasilinets/repos","events_url":"https://api.github.com/users/svasilinets/events{/privacy}","received_events_url":"https://api.github.com/users/svasilinets/received_events","type":"User","site_admin":false},"body":"doesn't comply with java code style","created_at":"2015-01-18T20:36:31Z","updated_at":"2015-01-18T20:36:31Z","html_url":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3#discussion_r23136600","pull_request_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/comments/23136600"},"html":{"href":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3#discussion_r23136600"},"pull_request":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3","id":27228220,"html_url":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3","diff_url":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3.diff","patch_url":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3.patch","issue_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/3","number":3,"state":"open","locked":false,"title":"Маврин Андрей 2536","user":{"login":"shambala22","id":8705547,"avatar_url":"https://avatars.githubusercontent.com/u/8705547?v=3","gravatar_id":"","url":"https://api.github.com/users/shambala22","html_url":"https://github.com/shambala22","followers_url":"https://api.github.com/users/shambala22/followers","following_url":"https://api.github.com/users/shambala22/following{/other_user}","gists_url":"https://api.github.com/users/shambala22/gists{/gist_id}","starred_url":"https://api.github.com/users/shambala22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shambala22/subscriptions","organizations_url":"https://api.github.com/users/shambala22/orgs","repos_url":"https://api.github.com/users/shambala22/repos","events_url":"https://api.github.com/users/shambala22/events{/privacy}","received_events_url":"https://api.github.com/users/shambala22/received_events","type":"User","site_admin":false},"body":"Features:\r\n- Showing 60 last images from Yandex photo of the day.(portrait - 6 on page, landscape - 10 on page)\r\n- Showing full-screen images\r\n- Caching downloaded images\r\n- Updating by swipe down, progress bar\r\n- Buttons for saving image in gallery setting it as wallpaper\r\n\r\nApp downloads images in low resolution ~(200x300), because higher resolution's downloading takes a lot of time. But you can change image size by changing one constant in IntentService. \r\n","created_at":"2015-01-12T21:36:51Z","updated_at":"2015-01-18T20:36:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5ad6ec1950f8b70eef758e267d8f73ae324e361","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3/commits","review_comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3/comments","review_comment_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/comments/{number}","comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/3/comments","statuses_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/statuses/329658bfe309b343468f481301430ae56f838727","head":{"label":"shambala22:master","ref":"master","sha":"329658bfe309b343468f481301430ae56f838727","user":{"login":"shambala22","id":8705547,"avatar_url":"https://avatars.githubusercontent.com/u/8705547?v=3","gravatar_id":"","url":"https://api.github.com/users/shambala22","html_url":"https://github.com/shambala22","followers_url":"https://api.github.com/users/shambala22/followers","following_url":"https://api.github.com/users/shambala22/following{/other_user}","gists_url":"https://api.github.com/users/shambala22/gists{/gist_id}","starred_url":"https://api.github.com/users/shambala22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shambala22/subscriptions","organizations_url":"https://api.github.com/users/shambala22/orgs","repos_url":"https://api.github.com/users/shambala22/repos","events_url":"https://api.github.com/users/shambala22/events{/privacy}","received_events_url":"https://api.github.com/users/shambala22/received_events","type":"User","site_admin":false},"repo":{"id":29058829,"name":"extratask1","full_name":"shambala22/extratask1","owner":{"login":"shambala22","id":8705547,"avatar_url":"https://avatars.githubusercontent.com/u/8705547?v=3","gravatar_id":"","url":"https://api.github.com/users/shambala22","html_url":"https://github.com/shambala22","followers_url":"https://api.github.com/users/shambala22/followers","following_url":"https://api.github.com/users/shambala22/following{/other_user}","gists_url":"https://api.github.com/users/shambala22/gists{/gist_id}","starred_url":"https://api.github.com/users/shambala22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shambala22/subscriptions","organizations_url":"https://api.github.com/users/shambala22/orgs","repos_url":"https://api.github.com/users/shambala22/repos","events_url":"https://api.github.com/users/shambala22/events{/privacy}","received_events_url":"https://api.github.com/users/shambala22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shambala22/extratask1","description":"","fork":true,"url":"https://api.github.com/repos/shambala22/extratask1","forks_url":"https://api.github.com/repos/shambala22/extratask1/forks","keys_url":"https://api.github.com/repos/shambala22/extratask1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shambala22/extratask1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shambala22/extratask1/teams","hooks_url":"https://api.github.com/repos/shambala22/extratask1/hooks","issue_events_url":"https://api.github.com/repos/shambala22/extratask1/issues/events{/number}","events_url":"https://api.github.com/repos/shambala22/extratask1/events","assignees_url":"https://api.github.com/repos/shambala22/extratask1/assignees{/user}","branches_url":"https://api.github.com/repos/shambala22/extratask1/branches{/branch}","tags_url":"https://api.github.com/repos/shambala22/extratask1/tags","blobs_url":"https://api.github.com/repos/shambala22/extratask1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shambala22/extratask1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shambala22/extratask1/git/refs{/sha}","trees_url":"https://api.github.com/repos/shambala22/extratask1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shambala22/extratask1/statuses/{sha}","languages_url":"https://api.github.com/repos/shambala22/extratask1/languages","stargazers_url":"https://api.github.com/repos/shambala22/extratask1/stargazers","contributors_url":"https://api.github.com/repos/shambala22/extratask1/contributors","subscribers_url":"https://api.github.com/repos/shambala22/extratask1/subscribers","subscription_url":"https://api.github.com/repos/shambala22/extratask1/subscription","commits_url":"https://api.github.com/repos/shambala22/extratask1/commits{/sha}","git_commits_url":"https://api.github.com/repos/shambala22/extratask1/git/commits{/sha}","comments_url":"https://api.github.com/repos/shambala22/extratask1/comments{/number}","issue_comment_url":"https://api.github.com/repos/shambala22/extratask1/issues/comments/{number}","contents_url":"https://api.github.com/repos/shambala22/extratask1/contents/{+path}","compare_url":"https://api.github.com/repos/shambala22/extratask1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shambala22/extratask1/merges","archive_url":"https://api.github.com/repos/shambala22/extratask1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shambala22/extratask1/downloads","issues_url":"https://api.github.com/repos/shambala22/extratask1/issues{/number}","pulls_url":"https://api.github.com/repos/shambala22/extratask1/pulls{/number}","milestones_url":"https://api.github.com/repos/shambala22/extratask1/milestones{/number}","notifications_url":"https://api.github.com/repos/shambala22/extratask1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shambala22/extratask1/labels{/name}","releases_url":"https://api.github.com/repos/shambala22/extratask1/releases{/id}","created_at":"2015-01-10T14:01:32Z","updated_at":"2015-01-15T17:32:40Z","pushed_at":"2015-01-17T23:09:40Z","git_url":"git://github.com/shambala22/extratask1.git","ssh_url":"git@github.com:shambala22/extratask1.git","clone_url":"https://github.com/shambala22/extratask1.git","svn_url":"https://github.com/shambala22/extratask1","homepage":null,"size":4909,"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":"IFMO-MobDev-2014:master","ref":"master","sha":"1a1467b8550fd23e25b2b66b8df79cd9c43465ab","user":{"login":"IFMO-MobDev-2014","id":8738407,"avatar_url":"https://avatars.githubusercontent.com/u/8738407?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-MobDev-2014","html_url":"https://github.com/IFMO-MobDev-2014","followers_url":"https://api.github.com/users/IFMO-MobDev-2014/followers","following_url":"https://api.github.com/users/IFMO-MobDev-2014/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-MobDev-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-MobDev-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-MobDev-2014/subscriptions","organizations_url":"https://api.github.com/users/IFMO-MobDev-2014/orgs","repos_url":"https://api.github.com/users/IFMO-MobDev-2014/repos","events_url":"https://api.github.com/users/IFMO-MobDev-2014/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-MobDev-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":29032350,"name":"extratask1","full_name":"IFMO-MobDev-2014/extratask1","owner":{"login":"IFMO-MobDev-2014","id":8738407,"avatar_url":"https://avatars.githubusercontent.com/u/8738407?v=3","gravatar_id":"","url":"https://api.github.com/users/IFMO-MobDev-2014","html_url":"https://github.com/IFMO-MobDev-2014","followers_url":"https://api.github.com/users/IFMO-MobDev-2014/followers","following_url":"https://api.github.com/users/IFMO-MobDev-2014/following{/other_user}","gists_url":"https://api.github.com/users/IFMO-MobDev-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/IFMO-MobDev-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IFMO-MobDev-2014/subscriptions","organizations_url":"https://api.github.com/users/IFMO-MobDev-2014/orgs","repos_url":"https://api.github.com/users/IFMO-MobDev-2014/repos","events_url":"https://api.github.com/users/IFMO-MobDev-2014/events{/privacy}","received_events_url":"https://api.github.com/users/IFMO-MobDev-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IFMO-MobDev-2014/extratask1","description":"","fork":false,"url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1","forks_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/forks","keys_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/teams","hooks_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/hooks","issue_events_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/events{/number}","events_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/events","assignees_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/assignees{/user}","branches_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/branches{/branch}","tags_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/tags","blobs_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/git/refs{/sha}","trees_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/statuses/{sha}","languages_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/languages","stargazers_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/stargazers","contributors_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/contributors","subscribers_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/subscribers","subscription_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/subscription","commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/commits{/sha}","git_commits_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/git/commits{/sha}","comments_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/comments{/number}","issue_comment_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/comments/{number}","contents_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/contents/{+path}","compare_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/merges","archive_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/downloads","issues_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues{/number}","pulls_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls{/number}","milestones_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/milestones{/number}","notifications_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/labels{/name}","releases_url":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/releases{/id}","created_at":"2015-01-09T19:46:18Z","updated_at":"2015-01-09T19:46:18Z","pushed_at":"2015-01-09T19:57:47Z","git_url":"git://github.com/IFMO-MobDev-2014/extratask1.git","ssh_url":"git@github.com:IFMO-MobDev-2014/extratask1.git","clone_url":"https://github.com/IFMO-MobDev-2014/extratask1.git","svn_url":"https://github.com/IFMO-MobDev-2014/extratask1","homepage":null,"size":9072,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":25,"forks":53,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3"},"html":{"href":"https://github.com/IFMO-MobDev-2014/extratask1/pull/3"},"issue":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/3"},"comments":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/IFMO-MobDev-2014/extratask1/statuses/329658bfe309b343468f481301430ae56f838727"}}}}