File was renamed from qihealonelibrary/src/main/java/com/dayu/qihealonelibrary/activity/ManagerReadActivity.java |
| | |
| | | * Time: 11:05 |
| | | * 备注: |
| | | */ |
| | | public class ManagerReadActivity extends BaseNfcActivity { |
| | | public class ManagerReadActivityQHAlone extends QHAloneBaseNfcActivity { |
| | | |
| | | ActivityManagerReadQhaBinding binding; |
| | | Intent intent; |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void onNewIntent(Intent intent) { |
| | | public void onNfcBack(Intent intent) { |
| | | this.intent = intent; |
| | | ProgressDialog.show(this); |
| | | if (NfcAdapter.ACTION_TAG_DISCOVERED.equals(intent.getAction())) { |
| | | getCardNumber(); |
| | | } |
| | | super.onNewIntent(intent); |
| | | } |
| | | |
| | | |
| | |
| | | TipUtil.show(this, "读卡成功,接下来会跳转到用户列表选择补卡的用户。", new TipUtil.TipListener() { |
| | | @Override |
| | | public void onCancle() { |
| | | Intent intent = new Intent(ManagerReadActivity.this, ManagerListActivity.class); |
| | | Intent intent = new Intent(ManagerReadActivityQHAlone.this, ManagerListActivityQHAlone.class); |
| | | intent.putExtra("cardNumber", cardNumber); |
| | | startActivity(intent); |
| | | ManagerReadActivity.this.finish(); |
| | | ManagerReadActivityQHAlone.this.finish(); |
| | | } |
| | | }); |
| | | |