GitHub PullRequestReviewCommentEvent at 2014-10-15 19:06:29
Repository: cgeo
Actor: samueltardieu
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/cgeo/cgeo/pulls/comments/18915036","id":18915036,"diff_hunk":"@@ -0,0 +1,55 @@\n+package cgeo.geocaching.apps.cache.navi;\n+\n+import cgeo.geocaching.Geocache;\n+import cgeo.geocaching.R;\n+import cgeo.geocaching.Waypoint;\n+import cgeo.geocaching.geopoint.Geopoint;\n+import cgeo.geocaching.utils.ProcessUtils;\n+\n+import android.app.Activity;\n+import android.content.Intent;\n+\n+/**\n+ * For use with any Android Wear geocaching apps which can handle the intent action below.\n+ */\n+public class AndroidWearApp extends AbstractPointNavigationApp {\n+    public static final String INTENT_ACTION = \"cgeo.geocaching.wear.NAVIGATE_TO\";\n+\n+    private static final String EXTRA_CACHE_NAME = \"name\";","path":"main/src/cgeo/geocaching/apps/cache/navi/AndroidWearApp.java","position":18,"original_position":18,"commit_id":"b21c32e0ffd6383e2f8f0ea1263b1b877fc95050","original_commit_id":"b21c32e0ffd6383e2f8f0ea1263b1b877fc95050","user":{"login":"samueltardieu","id":44656,"avatar_url":"https://avatars.githubusercontent.com/u/44656?v=2","gravatar_id":"","url":"https://api.github.com/users/samueltardieu","html_url":"https://github.com/samueltardieu","followers_url":"https://api.github.com/users/samueltardieu/followers","following_url":"https://api.github.com/users/samueltardieu/following{/other_user}","gists_url":"https://api.github.com/users/samueltardieu/gists{/gist_id}","starred_url":"https://api.github.com/users/samueltardieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueltardieu/subscriptions","organizations_url":"https://api.github.com/users/samueltardieu/orgs","repos_url":"https://api.github.com/users/samueltardieu/repos","events_url":"https://api.github.com/users/samueltardieu/events{/privacy}","received_events_url":"https://api.github.com/users/samueltardieu/received_events","type":"User","site_admin":false},"body":"Should use something (fully qualified) from class `Intents`.","created_at":"2014-10-15T19:06:29Z","updated_at":"2014-10-15T19:06:29Z","html_url":"https://github.com/cgeo/cgeo/pull/4417#discussion_r18915036","pull_request_url":"https://api.github.com/repos/cgeo/cgeo/pulls/4417","_links":{"self":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/comments/18915036"},"html":{"href":"https://github.com/cgeo/cgeo/pull/4417#discussion_r18915036"},"pull_request":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/4417"}}},"pull_request":{"url":"https://api.github.com/repos/cgeo/cgeo/pulls/4417","id":22805513,"html_url":"https://github.com/cgeo/cgeo/pull/4417","diff_url":"https://github.com/cgeo/cgeo/pull/4417.diff","patch_url":"https://github.com/cgeo/cgeo/pull/4417.patch","issue_url":"https://api.github.com/repos/cgeo/cgeo/issues/4417","number":4417,"state":"open","locked":false,"title":"Implemented support for external Android Wear apps","user":{"login":"culmor30","id":1647792,"avatar_url":"https://avatars.githubusercontent.com/u/1647792?v=2","gravatar_id":"","url":"https://api.github.com/users/culmor30","html_url":"https://github.com/culmor30","followers_url":"https://api.github.com/users/culmor30/followers","following_url":"https://api.github.com/users/culmor30/following{/other_user}","gists_url":"https://api.github.com/users/culmor30/gists{/gist_id}","starred_url":"https://api.github.com/users/culmor30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/culmor30/subscriptions","organizations_url":"https://api.github.com/users/culmor30/orgs","repos_url":"https://api.github.com/users/culmor30/repos","events_url":"https://api.github.com/users/culmor30/events{/privacy}","received_events_url":"https://api.github.com/users/culmor30/received_events","type":"User","site_admin":false},"body":"In reference to issue #4063.\r\n\r\nAndroid Wear apps can listen for the 'cgeo.geocaching.wear.NAVIGATE_TO'\r\nintent to get cache info from c:geo, passed as Intent extras.\r\n\r\nAltered ProcessUtils#isIntentAvailable(final String action, final Uri uri)\r\nto scan for Services (instead of just activities) which can handle\r\na given action; my Wear app (as I imagine others will) mainly runs as a\r\nService and requires no activity to be launched.","created_at":"2014-10-15T18:46:52Z","updated_at":"2014-10-15T19:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd91f3f36f0455f5a0ff2319e8aab9bdb961719e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cgeo/cgeo/pulls/4417/commits","review_comments_url":"https://api.github.com/repos/cgeo/cgeo/pulls/4417/comments","review_comment_url":"https://api.github.com/repos/cgeo/cgeo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cgeo/cgeo/issues/4417/comments","statuses_url":"https://api.github.com/repos/cgeo/cgeo/statuses/b21c32e0ffd6383e2f8f0ea1263b1b877fc95050","head":{"label":"culmor30:master","ref":"master","sha":"b21c32e0ffd6383e2f8f0ea1263b1b877fc95050","user":{"login":"culmor30","id":1647792,"avatar_url":"https://avatars.githubusercontent.com/u/1647792?v=2","gravatar_id":"","url":"https://api.github.com/users/culmor30","html_url":"https://github.com/culmor30","followers_url":"https://api.github.com/users/culmor30/followers","following_url":"https://api.github.com/users/culmor30/following{/other_user}","gists_url":"https://api.github.com/users/culmor30/gists{/gist_id}","starred_url":"https://api.github.com/users/culmor30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/culmor30/subscriptions","organizations_url":"https://api.github.com/users/culmor30/orgs","repos_url":"https://api.github.com/users/culmor30/repos","events_url":"https://api.github.com/users/culmor30/events{/privacy}","received_events_url":"https://api.github.com/users/culmor30/received_events","type":"User","site_admin":false},"repo":{"id":25216543,"name":"cgeo","full_name":"culmor30/cgeo","owner":{"login":"culmor30","id":1647792,"avatar_url":"https://avatars.githubusercontent.com/u/1647792?v=2","gravatar_id":"","url":"https://api.github.com/users/culmor30","html_url":"https://github.com/culmor30","followers_url":"https://api.github.com/users/culmor30/followers","following_url":"https://api.github.com/users/culmor30/following{/other_user}","gists_url":"https://api.github.com/users/culmor30/gists{/gist_id}","starred_url":"https://api.github.com/users/culmor30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/culmor30/subscriptions","organizations_url":"https://api.github.com/users/culmor30/orgs","repos_url":"https://api.github.com/users/culmor30/repos","events_url":"https://api.github.com/users/culmor30/events{/privacy}","received_events_url":"https://api.github.com/users/culmor30/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/culmor30/cgeo","description":"c:geo - The powerful Android geocaching app.","fork":true,"url":"https://api.github.com/repos/culmor30/cgeo","forks_url":"https://api.github.com/repos/culmor30/cgeo/forks","keys_url":"https://api.github.com/repos/culmor30/cgeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/culmor30/cgeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/culmor30/cgeo/teams","hooks_url":"https://api.github.com/repos/culmor30/cgeo/hooks","issue_events_url":"https://api.github.com/repos/culmor30/cgeo/issues/events{/number}","events_url":"https://api.github.com/repos/culmor30/cgeo/events","assignees_url":"https://api.github.com/repos/culmor30/cgeo/assignees{/user}","branches_url":"https://api.github.com/repos/culmor30/cgeo/branches{/branch}","tags_url":"https://api.github.com/repos/culmor30/cgeo/tags","blobs_url":"https://api.github.com/repos/culmor30/cgeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/culmor30/cgeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/culmor30/cgeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/culmor30/cgeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/culmor30/cgeo/statuses/{sha}","languages_url":"https://api.github.com/repos/culmor30/cgeo/languages","stargazers_url":"https://api.github.com/repos/culmor30/cgeo/stargazers","contributors_url":"https://api.github.com/repos/culmor30/cgeo/contributors","subscribers_url":"https://api.github.com/repos/culmor30/cgeo/subscribers","subscription_url":"https://api.github.com/repos/culmor30/cgeo/subscription","commits_url":"https://api.github.com/repos/culmor30/cgeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/culmor30/cgeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/culmor30/cgeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/culmor30/cgeo/issues/comments/{number}","contents_url":"https://api.github.com/repos/culmor30/cgeo/contents/{+path}","compare_url":"https://api.github.com/repos/culmor30/cgeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/culmor30/cgeo/merges","archive_url":"https://api.github.com/repos/culmor30/cgeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/culmor30/cgeo/downloads","issues_url":"https://api.github.com/repos/culmor30/cgeo/issues{/number}","pulls_url":"https://api.github.com/repos/culmor30/cgeo/pulls{/number}","milestones_url":"https://api.github.com/repos/culmor30/cgeo/milestones{/number}","notifications_url":"https://api.github.com/repos/culmor30/cgeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/culmor30/cgeo/labels{/name}","releases_url":"https://api.github.com/repos/culmor30/cgeo/releases{/id}","created_at":"2014-10-14T16:47:35Z","updated_at":"2014-10-15T18:44:47Z","pushed_at":"2014-10-15T18:44:43Z","git_url":"git://github.com/culmor30/cgeo.git","ssh_url":"git@github.com:culmor30/cgeo.git","clone_url":"https://github.com/culmor30/cgeo.git","svn_url":"https://github.com/culmor30/cgeo","homepage":"www.cgeo.org","size":92160,"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":"cgeo:master","ref":"master","sha":"0904e2a00d54c5e7e4c68aca52009a55537b7048","user":{"login":"cgeo","id":907088,"avatar_url":"https://avatars.githubusercontent.com/u/907088?v=2","gravatar_id":"","url":"https://api.github.com/users/cgeo","html_url":"https://github.com/cgeo","followers_url":"https://api.github.com/users/cgeo/followers","following_url":"https://api.github.com/users/cgeo/following{/other_user}","gists_url":"https://api.github.com/users/cgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/cgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgeo/subscriptions","organizations_url":"https://api.github.com/users/cgeo/orgs","repos_url":"https://api.github.com/users/cgeo/repos","events_url":"https://api.github.com/users/cgeo/events{/privacy}","received_events_url":"https://api.github.com/users/cgeo/received_events","type":"Organization","site_admin":false},"repo":{"id":2028724,"name":"cgeo","full_name":"cgeo/cgeo","owner":{"login":"cgeo","id":907088,"avatar_url":"https://avatars.githubusercontent.com/u/907088?v=2","gravatar_id":"","url":"https://api.github.com/users/cgeo","html_url":"https://github.com/cgeo","followers_url":"https://api.github.com/users/cgeo/followers","following_url":"https://api.github.com/users/cgeo/following{/other_user}","gists_url":"https://api.github.com/users/cgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/cgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgeo/subscriptions","organizations_url":"https://api.github.com/users/cgeo/orgs","repos_url":"https://api.github.com/users/cgeo/repos","events_url":"https://api.github.com/users/cgeo/events{/privacy}","received_events_url":"https://api.github.com/users/cgeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cgeo/cgeo","description":"c:geo - The powerful Android geocaching app.","fork":false,"url":"https://api.github.com/repos/cgeo/cgeo","forks_url":"https://api.github.com/repos/cgeo/cgeo/forks","keys_url":"https://api.github.com/repos/cgeo/cgeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgeo/cgeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgeo/cgeo/teams","hooks_url":"https://api.github.com/repos/cgeo/cgeo/hooks","issue_events_url":"https://api.github.com/repos/cgeo/cgeo/issues/events{/number}","events_url":"https://api.github.com/repos/cgeo/cgeo/events","assignees_url":"https://api.github.com/repos/cgeo/cgeo/assignees{/user}","branches_url":"https://api.github.com/repos/cgeo/cgeo/branches{/branch}","tags_url":"https://api.github.com/repos/cgeo/cgeo/tags","blobs_url":"https://api.github.com/repos/cgeo/cgeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgeo/cgeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgeo/cgeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgeo/cgeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgeo/cgeo/statuses/{sha}","languages_url":"https://api.github.com/repos/cgeo/cgeo/languages","stargazers_url":"https://api.github.com/repos/cgeo/cgeo/stargazers","contributors_url":"https://api.github.com/repos/cgeo/cgeo/contributors","subscribers_url":"https://api.github.com/repos/cgeo/cgeo/subscribers","subscription_url":"https://api.github.com/repos/cgeo/cgeo/subscription","commits_url":"https://api.github.com/repos/cgeo/cgeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgeo/cgeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgeo/cgeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgeo/cgeo/issues/comments/{number}","contents_url":"https://api.github.com/repos/cgeo/cgeo/contents/{+path}","compare_url":"https://api.github.com/repos/cgeo/cgeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgeo/cgeo/merges","archive_url":"https://api.github.com/repos/cgeo/cgeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgeo/cgeo/downloads","issues_url":"https://api.github.com/repos/cgeo/cgeo/issues{/number}","pulls_url":"https://api.github.com/repos/cgeo/cgeo/pulls{/number}","milestones_url":"https://api.github.com/repos/cgeo/cgeo/milestones{/number}","notifications_url":"https://api.github.com/repos/cgeo/cgeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgeo/cgeo/labels{/name}","releases_url":"https://api.github.com/repos/cgeo/cgeo/releases{/id}","created_at":"2011-07-11T06:02:47Z","updated_at":"2014-10-12T12:36:36Z","pushed_at":"2014-10-13T19:16:28Z","git_url":"git://github.com/cgeo/cgeo.git","ssh_url":"git@github.com:cgeo/cgeo.git","clone_url":"https://github.com/cgeo/cgeo.git","svn_url":"https://github.com/cgeo/cgeo","homepage":"www.cgeo.org","size":123789,"stargazers_count":507,"watchers_count":507,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":429,"forks":337,"open_issues":429,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/4417"},"html":{"href":"https://github.com/cgeo/cgeo/pull/4417"},"issue":{"href":"https://api.github.com/repos/cgeo/cgeo/issues/4417"},"comments":{"href":"https://api.github.com/repos/cgeo/cgeo/issues/4417/comments"},"review_comments":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/4417/comments"},"review_comment":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cgeo/cgeo/pulls/4417/commits"},"statuses":{"href":"https://api.github.com/repos/cgeo/cgeo/statuses/b21c32e0ffd6383e2f8f0ea1263b1b877fc95050"}}}}