{"action":"created","comment":{"url":"https://api.github.com/repos/google/physical-web/pulls/comments/65272103","id":65272103,"diff_hunk":"@@ -0,0 +1,539 @@\n+package org.physical_web.physicalweb;\n+\n+/*\n+ * Copyright 2014 Google Inc. All rights reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+\n+import android.os.ParcelUuid;\n+import android.util.Log;\n+import android.util.SparseArray;\n+import android.webkit.URLUtil;\n+\n+import java.net.URISyntaxException;\n+import java.nio.BufferUnderflowException;\n+import java.nio.ByteBuffer;\n+import java.nio.ByteOrder;\n+import java.util.Arrays;\n+import java.util.Locale;\n+import java.util.UUID;\n+import java.util.Arrays;\n+\n+/**\n+ * Represents a Uri Beacon from Bluetooth LE scan.\n+ */\n+\n+public class UriBeacon {","path":"android/PhysicalWeb/app/src/main/java/org/physical_web/physicalweb/UriBeacon.java","position":38,"original_position":38,"commit_id":"0a0db60d778bfdc6d7872edf689c8b488f5c8fd6","original_commit_id":"0a0db60d778bfdc6d7872edf689c8b488f5c8fd6","user":{"login":"cco3","id":236057,"avatar_url":"https://avatars.githubusercontent.com/u/236057?v=3","gravatar_id":"","url":"https://api.github.com/users/cco3","html_url":"https://github.com/cco3","followers_url":"https://api.github.com/users/cco3/followers","following_url":"https://api.github.com/users/cco3/following{/other_user}","gists_url":"https://api.github.com/users/cco3/gists{/gist_id}","starred_url":"https://api.github.com/users/cco3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cco3/subscriptions","organizations_url":"https://api.github.com/users/cco3/orgs","repos_url":"https://api.github.com/users/cco3/repos","events_url":"https://api.github.com/users/cco3/events{/privacy}","received_events_url":"https://api.github.com/users/cco3/received_events","type":"User","site_admin":false},"body":"See org.physical_web.ble.UriBeacon (you shouldn't need this class)","created_at":"2016-05-31T22:08:12Z","updated_at":"2016-05-31T22:08:12Z","html_url":"https://github.com/google/physical-web/pull/674#discussion_r65272103","pull_request_url":"https://api.github.com/repos/google/physical-web/pulls/674","_links":{"self":{"href":"https://api.github.com/repos/google/physical-web/pulls/comments/65272103"},"html":{"href":"https://github.com/google/physical-web/pull/674#discussion_r65272103"},"pull_request":{"href":"https://api.github.com/repos/google/physical-web/pulls/674"}}},"pull_request":{"url":"https://api.github.com/repos/google/physical-web/pulls/674","id":72090673,"html_url":"https://github.com/google/physical-web/pull/674","diff_url":"https://github.com/google/physical-web/pull/674.diff","patch_url":"https://github.com/google/physical-web/pull/674.patch","issue_url":"https://api.github.com/repos/google/physical-web/issues/674","number":674,"state":"open","locked":false,"title":"Add Share funtionality","user":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"body":"Allows users to share URLs through the native Android share menu. Doing\r\nso will effectively allow your device, just as Physical Web beacons do,\r\nto broadcast the URL you wish to share.","created_at":"2016-05-31T21:41:50Z","updated_at":"2016-05-31T22:08:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fa326acf52aaa578fe5b1758d614741633c3507","assignee":{"login":"cco3","id":236057,"avatar_url":"https://avatars.githubusercontent.com/u/236057?v=3","gravatar_id":"","url":"https://api.github.com/users/cco3","html_url":"https://github.com/cco3","followers_url":"https://api.github.com/users/cco3/followers","following_url":"https://api.github.com/users/cco3/following{/other_user}","gists_url":"https://api.github.com/users/cco3/gists{/gist_id}","starred_url":"https://api.github.com/users/cco3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cco3/subscriptions","organizations_url":"https://api.github.com/users/cco3/orgs","repos_url":"https://api.github.com/users/cco3/repos","events_url":"https://api.github.com/users/cco3/events{/privacy}","received_events_url":"https://api.github.com/users/cco3/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/physical-web/pulls/674/commits","review_comments_url":"https://api.github.com/repos/google/physical-web/pulls/674/comments","review_comment_url":"https://api.github.com/repos/google/physical-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/physical-web/issues/674/comments","statuses_url":"https://api.github.com/repos/google/physical-web/statuses/0a0db60d778bfdc6d7872edf689c8b488f5c8fd6","head":{"label":"nishadg246:share","ref":"share","sha":"0a0db60d778bfdc6d7872edf689c8b488f5c8fd6","user":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"repo":{"id":59617356,"name":"physical-web","full_name":"nishadg246/physical-web","owner":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nishadg246/physical-web","description":"The Physical Web: walk up and use anything","fork":true,"url":"https://api.github.com/repos/nishadg246/physical-web","forks_url":"https://api.github.com/repos/nishadg246/physical-web/forks","keys_url":"https://api.github.com/repos/nishadg246/physical-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nishadg246/physical-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nishadg246/physical-web/teams","hooks_url":"https://api.github.com/repos/nishadg246/physical-web/hooks","issue_events_url":"https://api.github.com/repos/nishadg246/physical-web/issues/events{/number}","events_url":"https://api.github.com/repos/nishadg246/physical-web/events","assignees_url":"https://api.github.com/repos/nishadg246/physical-web/assignees{/user}","branches_url":"https://api.github.com/repos/nishadg246/physical-web/branches{/branch}","tags_url":"https://api.github.com/repos/nishadg246/physical-web/tags","blobs_url":"https://api.github.com/repos/nishadg246/physical-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nishadg246/physical-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nishadg246/physical-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/nishadg246/physical-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nishadg246/physical-web/statuses/{sha}","languages_url":"https://api.github.com/repos/nishadg246/physical-web/languages","stargazers_url":"https://api.github.com/repos/nishadg246/physical-web/stargazers","contributors_url":"https://api.github.com/repos/nishadg246/physical-web/contributors","subscribers_url":"https://api.github.com/repos/nishadg246/physical-web/subscribers","subscription_url":"https://api.github.com/repos/nishadg246/physical-web/subscription","commits_url":"https://api.github.com/repos/nishadg246/physical-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/nishadg246/physical-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/nishadg246/physical-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/nishadg246/physical-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/nishadg246/physical-web/contents/{+path}","compare_url":"https://api.github.com/repos/nishadg246/physical-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nishadg246/physical-web/merges","archive_url":"https://api.github.com/repos/nishadg246/physical-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nishadg246/physical-web/downloads","issues_url":"https://api.github.com/repos/nishadg246/physical-web/issues{/number}","pulls_url":"https://api.github.com/repos/nishadg246/physical-web/pulls{/number}","milestones_url":"https://api.github.com/repos/nishadg246/physical-web/milestones{/number}","notifications_url":"https://api.github.com/repos/nishadg246/physical-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nishadg246/physical-web/labels{/name}","releases_url":"https://api.github.com/repos/nishadg246/physical-web/releases{/id}","deployments_url":"https://api.github.com/repos/nishadg246/physical-web/deployments","created_at":"2016-05-25T00:11:45Z","updated_at":"2016-05-25T00:11:46Z","pushed_at":"2016-05-31T21:41:11Z","git_url":"git://github.com/nishadg246/physical-web.git","ssh_url":"git@github.com:nishadg246/physical-web.git","clone_url":"https://github.com/nishadg246/physical-web.git","svn_url":"https://github.com/nishadg246/physical-web","homepage":"http://physical-web.org","size":12295,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"google:master","ref":"master","sha":"18868e58eecce9732e0979d8f2cf2a9d832f1899","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":24650339,"name":"physical-web","full_name":"google/physical-web","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/physical-web","description":"The Physical Web: walk up and use anything","fork":false,"url":"https://api.github.com/repos/google/physical-web","forks_url":"https://api.github.com/repos/google/physical-web/forks","keys_url":"https://api.github.com/repos/google/physical-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/physical-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/physical-web/teams","hooks_url":"https://api.github.com/repos/google/physical-web/hooks","issue_events_url":"https://api.github.com/repos/google/physical-web/issues/events{/number}","events_url":"https://api.github.com/repos/google/physical-web/events","assignees_url":"https://api.github.com/repos/google/physical-web/assignees{/user}","branches_url":"https://api.github.com/repos/google/physical-web/branches{/branch}","tags_url":"https://api.github.com/repos/google/physical-web/tags","blobs_url":"https://api.github.com/repos/google/physical-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/physical-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/physical-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/physical-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/physical-web/statuses/{sha}","languages_url":"https://api.github.com/repos/google/physical-web/languages","stargazers_url":"https://api.github.com/repos/google/physical-web/stargazers","contributors_url":"https://api.github.com/repos/google/physical-web/contributors","subscribers_url":"https://api.github.com/repos/google/physical-web/subscribers","subscription_url":"https://api.github.com/repos/google/physical-web/subscription","commits_url":"https://api.github.com/repos/google/physical-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/physical-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/physical-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/physical-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/physical-web/contents/{+path}","compare_url":"https://api.github.com/repos/google/physical-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/physical-web/merges","archive_url":"https://api.github.com/repos/google/physical-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/physical-web/downloads","issues_url":"https://api.github.com/repos/google/physical-web/issues{/number}","pulls_url":"https://api.github.com/repos/google/physical-web/pulls{/number}","milestones_url":"https://api.github.com/repos/google/physical-web/milestones{/number}","notifications_url":"https://api.github.com/repos/google/physical-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/physical-web/labels{/name}","releases_url":"https://api.github.com/repos/google/physical-web/releases{/id}","deployments_url":"https://api.github.com/repos/google/physical-web/deployments","created_at":"2014-09-30T18:32:14Z","updated_at":"2016-05-31T17:54:48Z","pushed_at":"2016-05-31T21:41:50Z","git_url":"git://github.com/google/physical-web.git","ssh_url":"git@github.com:google/physical-web.git","clone_url":"https://github.com/google/physical-web.git","svn_url":"https://github.com/google/physical-web","homepage":"http://physical-web.org","size":12957,"stargazers_count":5386,"watchers_count":5386,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":650,"mirror_url":null,"open_issues_count":49,"forks":650,"open_issues":49,"watchers":5386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/physical-web/pulls/674"},"html":{"href":"https://github.com/google/physical-web/pull/674"},"issue":{"href":"https://api.github.com/repos/google/physical-web/issues/674"},"comments":{"href":"https://api.github.com/repos/google/physical-web/issues/674/comments"},"review_comments":{"href":"https://api.github.com/repos/google/physical-web/pulls/674/comments"},"review_comment":{"href":"https://api.github.com/repos/google/physical-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/physical-web/pulls/674/commits"},"statuses":{"href":"https://api.github.com/repos/google/physical-web/statuses/0a0db60d778bfdc6d7872edf689c8b488f5c8fd6"}}}}
{"actor":{"display_login":"cco3"}}