-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from OpenSRP/simprints_outcome
Simprints outcome
- Loading branch information
Showing
10 changed files
with
171 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...p-brac-hnpp/src/main/java/org/smartregister/brac/hnpp/task/ConfirmIdentificationTask.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
//package org.smartregister.brac.hnpp.task; | ||
// | ||
//import android.os.AsyncTask; | ||
//import android.text.TextUtils; | ||
//import android.util.Log; | ||
// | ||
//import org.smartregister.CoreLibrary; | ||
//import org.smartregister.brac.hnpp.HnppApplication; | ||
//import org.smartregister.brac.hnpp.utils.HnppConstants; | ||
//import org.smartregister.simprint.SimPrintsHelper; | ||
// | ||
//public class ConfirmIdentificationTask extends AsyncTask<Void, Void, Void> { | ||
// | ||
// private String sessiodId; | ||
// private String selectedGuid; | ||
// | ||
// public ConfirmIdentificationTask(String sessiodId, String selectedGuid) { | ||
// this.sessiodId = sessiodId; | ||
// this.selectedGuid = selectedGuid; | ||
// } | ||
// | ||
// @Override | ||
// protected Void doInBackground(Void... voids) { | ||
// confirmSelectedGuid(sessiodId, selectedGuid); | ||
// return null; | ||
// } | ||
// | ||
// | ||
// private void confirmSelectedGuid(String sessionid, String simPrintsGuid) { | ||
// Log.v("SIMPRINTS_IDENTITY","projectId:"+HnppConstants.getSimPrintsProjectId()+":userId:"+CoreLibrary.getInstance().context().allSharedPreferences().fetchRegisteredANM()); | ||
// SimPrintsHelper simPrintsHelper = new SimPrintsHelper(HnppConstants.getSimPrintsProjectId(), CoreLibrary.getInstance().context().allSharedPreferences().fetchRegisteredANM()); | ||
// if (TextUtils.isEmpty(simPrintsGuid)) { | ||
// Log.v("SIMPRINTS_IDENTITY","confirmSelectedGuid>>"+sessiodId); | ||
// simPrintsHelper.confirmIdentity(HnppApplication.getHNPPInstance().getApplicationContext(), sessionid, "none_selected"); | ||
// | ||
// } else { | ||
// Log.v("SIMPRINTS_IDENTITY","sessionId:"+sessiodId+":guId"+simPrintsGuid+":appcontext:"+HnppApplication.getHNPPInstance().getApplicationContext()); | ||
// simPrintsHelper.confirmIdentity(HnppApplication.getHNPPInstance().getApplicationContext(), sessionid, simPrintsGuid); | ||
// } | ||
// } | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.