{"action":"created","comment":{"url":"https://api.github.com/repos/hathix/6P/pulls/comments/50271490","id":50271490,"diff_hunk":"@@ -0,0 +1,70 @@\n+package org.ses.android.soap;\n+\n+import android.app.Activity;\n+import android.content.Intent;\n+import android.content.SharedPreferences;\n+import android.os.AsyncTask;\n+import android.os.Bundle;\n+import android.preference.PreferenceManager;\n+import android.support.v4.app.FragmentActivity;\n+import android.util.Log;\n+import android.view.MenuItem;\n+import android.view.View;\n+import android.widget.Button;\n+import android.widget.EditText;\n+import android.widget.TableLayout;\n+import android.widget.TableRow;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+import org.ses.android.seispapp120.R;\n+import org.ses.android.soap.database.Idreg;\n+import org.ses.android.soap.database.Participant;\n+import org.ses.android.soap.database.Visitas;\n+import org.ses.android.soap.preferences.PreferencesActivity;\n+import org.ses.android.soap.tasks.EstadoVisitaTask;\n+import org.ses.android.soap.tasks.GenerarIdENRTask;\n+import org.ses.android.soap.tasks.GenerarIdTAMTask;\n+import org.ses.android.soap.tasks.MostrarTipoIDTask;\n+import org.ses.android.soap.tasks.TienePermisosTask;\n+import org.ses.android.soap.tasks.VisitasListTask;\n+\n+import java.text.DateFormat;\n+import java.text.ParseException;\n+import java.text.SimpleDateFormat;\n+import java.util.concurrent.ExecutionException;\n+import java.util.Calendar;\n+import java.util.Date;\n+/**\n+ * Created by saranya on 1/19/16.\n+ */\n+public class LogVisitActivity extends BaseActivity {\n+\n+    private Participant currentParticipant;\n+    private Visitas pending_visitas;\n+    private SharedPreferences mPreferences;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.log_visit_layout);\n+\n+    currentParticipant = getIntent().getParcelableExtra(\"Participant\");","path":"src/org/ses/android/soap/LogVisitActivity.java","position":52,"original_position":52,"commit_id":"56e9d00c53b496d7bc5a41f8757393eb8ea2bce7","original_commit_id":"56e9d00c53b496d7bc5a41f8757393eb8ea2bce7","user":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"body":"Indenting is a little weird here... let's do a quick code format `Cmd+Opt+L` here.","created_at":"2016-01-20T15:48:01Z","updated_at":"2016-01-20T15:48:01Z","html_url":"https://github.com/hathix/6P/pull/53#discussion_r50271490","pull_request_url":"https://api.github.com/repos/hathix/6P/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/hathix/6P/pulls/comments/50271490"},"html":{"href":"https://github.com/hathix/6P/pull/53#discussion_r50271490"},"pull_request":{"href":"https://api.github.com/repos/hathix/6P/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/hathix/6P/pulls/53","id":56624504,"html_url":"https://github.com/hathix/6P/pull/53","diff_url":"https://github.com/hathix/6P/pull/53.diff","patch_url":"https://github.com/hathix/6P/pull/53.patch","issue_url":"https://api.github.com/repos/hathix/6P/issues/53","number":53,"state":"open","locked":false,"title":"Manual visit scheduling and logging","user":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"body":"Still in the works... wait for it.","created_at":"2016-01-20T15:42:06Z","updated_at":"2016-01-20T15:48:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hathix/6P/pulls/53/commits","review_comments_url":"https://api.github.com/repos/hathix/6P/pulls/53/comments","review_comment_url":"https://api.github.com/repos/hathix/6P/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hathix/6P/issues/53/comments","statuses_url":"https://api.github.com/repos/hathix/6P/statuses/56e9d00c53b496d7bc5a41f8757393eb8ea2bce7","head":{"label":"hathix:manual_branch","ref":"manual_branch","sha":"56e9d00c53b496d7bc5a41f8757393eb8ea2bce7","user":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"repo":{"id":49156745,"name":"6P","full_name":"hathix/6P","owner":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hathix/6P","description":"SeisP Móvil, an eDOTS app for Android","fork":false,"url":"https://api.github.com/repos/hathix/6P","forks_url":"https://api.github.com/repos/hathix/6P/forks","keys_url":"https://api.github.com/repos/hathix/6P/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hathix/6P/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hathix/6P/teams","hooks_url":"https://api.github.com/repos/hathix/6P/hooks","issue_events_url":"https://api.github.com/repos/hathix/6P/issues/events{/number}","events_url":"https://api.github.com/repos/hathix/6P/events","assignees_url":"https://api.github.com/repos/hathix/6P/assignees{/user}","branches_url":"https://api.github.com/repos/hathix/6P/branches{/branch}","tags_url":"https://api.github.com/repos/hathix/6P/tags","blobs_url":"https://api.github.com/repos/hathix/6P/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hathix/6P/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hathix/6P/git/refs{/sha}","trees_url":"https://api.github.com/repos/hathix/6P/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hathix/6P/statuses/{sha}","languages_url":"https://api.github.com/repos/hathix/6P/languages","stargazers_url":"https://api.github.com/repos/hathix/6P/stargazers","contributors_url":"https://api.github.com/repos/hathix/6P/contributors","subscribers_url":"https://api.github.com/repos/hathix/6P/subscribers","subscription_url":"https://api.github.com/repos/hathix/6P/subscription","commits_url":"https://api.github.com/repos/hathix/6P/commits{/sha}","git_commits_url":"https://api.github.com/repos/hathix/6P/git/commits{/sha}","comments_url":"https://api.github.com/repos/hathix/6P/comments{/number}","issue_comment_url":"https://api.github.com/repos/hathix/6P/issues/comments{/number}","contents_url":"https://api.github.com/repos/hathix/6P/contents/{+path}","compare_url":"https://api.github.com/repos/hathix/6P/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hathix/6P/merges","archive_url":"https://api.github.com/repos/hathix/6P/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hathix/6P/downloads","issues_url":"https://api.github.com/repos/hathix/6P/issues{/number}","pulls_url":"https://api.github.com/repos/hathix/6P/pulls{/number}","milestones_url":"https://api.github.com/repos/hathix/6P/milestones{/number}","notifications_url":"https://api.github.com/repos/hathix/6P/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hathix/6P/labels{/name}","releases_url":"https://api.github.com/repos/hathix/6P/releases{/id}","created_at":"2016-01-06T19:30:34Z","updated_at":"2016-01-11T15:07:59Z","pushed_at":"2016-01-20T15:42:06Z","git_url":"git://github.com/hathix/6P.git","ssh_url":"git@github.com:hathix/6P.git","clone_url":"https://github.com/hathix/6P.git","svn_url":"https://github.com/hathix/6P","homepage":"https://sociosensalud.org.pe/","size":5500,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"hathix:master","ref":"master","sha":"a42eb7b4d1335316a471a5c704bfd04225b8be2e","user":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"repo":{"id":49156745,"name":"6P","full_name":"hathix/6P","owner":{"login":"hathix","id":728084,"avatar_url":"https://avatars.githubusercontent.com/u/728084?v=3","gravatar_id":"","url":"https://api.github.com/users/hathix","html_url":"https://github.com/hathix","followers_url":"https://api.github.com/users/hathix/followers","following_url":"https://api.github.com/users/hathix/following{/other_user}","gists_url":"https://api.github.com/users/hathix/gists{/gist_id}","starred_url":"https://api.github.com/users/hathix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hathix/subscriptions","organizations_url":"https://api.github.com/users/hathix/orgs","repos_url":"https://api.github.com/users/hathix/repos","events_url":"https://api.github.com/users/hathix/events{/privacy}","received_events_url":"https://api.github.com/users/hathix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hathix/6P","description":"SeisP Móvil, an eDOTS app for Android","fork":false,"url":"https://api.github.com/repos/hathix/6P","forks_url":"https://api.github.com/repos/hathix/6P/forks","keys_url":"https://api.github.com/repos/hathix/6P/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hathix/6P/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hathix/6P/teams","hooks_url":"https://api.github.com/repos/hathix/6P/hooks","issue_events_url":"https://api.github.com/repos/hathix/6P/issues/events{/number}","events_url":"https://api.github.com/repos/hathix/6P/events","assignees_url":"https://api.github.com/repos/hathix/6P/assignees{/user}","branches_url":"https://api.github.com/repos/hathix/6P/branches{/branch}","tags_url":"https://api.github.com/repos/hathix/6P/tags","blobs_url":"https://api.github.com/repos/hathix/6P/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hathix/6P/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hathix/6P/git/refs{/sha}","trees_url":"https://api.github.com/repos/hathix/6P/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hathix/6P/statuses/{sha}","languages_url":"https://api.github.com/repos/hathix/6P/languages","stargazers_url":"https://api.github.com/repos/hathix/6P/stargazers","contributors_url":"https://api.github.com/repos/hathix/6P/contributors","subscribers_url":"https://api.github.com/repos/hathix/6P/subscribers","subscription_url":"https://api.github.com/repos/hathix/6P/subscription","commits_url":"https://api.github.com/repos/hathix/6P/commits{/sha}","git_commits_url":"https://api.github.com/repos/hathix/6P/git/commits{/sha}","comments_url":"https://api.github.com/repos/hathix/6P/comments{/number}","issue_comment_url":"https://api.github.com/repos/hathix/6P/issues/comments{/number}","contents_url":"https://api.github.com/repos/hathix/6P/contents/{+path}","compare_url":"https://api.github.com/repos/hathix/6P/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hathix/6P/merges","archive_url":"https://api.github.com/repos/hathix/6P/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hathix/6P/downloads","issues_url":"https://api.github.com/repos/hathix/6P/issues{/number}","pulls_url":"https://api.github.com/repos/hathix/6P/pulls{/number}","milestones_url":"https://api.github.com/repos/hathix/6P/milestones{/number}","notifications_url":"https://api.github.com/repos/hathix/6P/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hathix/6P/labels{/name}","releases_url":"https://api.github.com/repos/hathix/6P/releases{/id}","created_at":"2016-01-06T19:30:34Z","updated_at":"2016-01-11T15:07:59Z","pushed_at":"2016-01-20T15:42:06Z","git_url":"git://github.com/hathix/6P.git","ssh_url":"git@github.com:hathix/6P.git","clone_url":"https://github.com/hathix/6P.git","svn_url":"https://github.com/hathix/6P","homepage":"https://sociosensalud.org.pe/","size":5500,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hathix/6P/pulls/53"},"html":{"href":"https://github.com/hathix/6P/pull/53"},"issue":{"href":"https://api.github.com/repos/hathix/6P/issues/53"},"comments":{"href":"https://api.github.com/repos/hathix/6P/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/hathix/6P/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/hathix/6P/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hathix/6P/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/hathix/6P/statuses/56e9d00c53b496d7bc5a41f8757393eb8ea2bce7"}}}}