|
|
|
@ -71,6 +71,11 @@ public class BaseActivity extends AppCompatActivity {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected void onResume() {
|
|
|
|
|
super.onResume();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void initRFID() {
|
|
|
|
|
application = MyApplication.getApplication();
|
|
|
|
|
uhfReader = application.getUhfReader();
|
|
|
|
@ -87,7 +92,7 @@ public class BaseActivity extends AppCompatActivity {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initDialog() {
|
|
|
|
|
dialog = new ProgressDialog(this);
|
|
|
|
|
dialog = new ProgressDialog(context);
|
|
|
|
|
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
|
|
|
|
dialog.setCanceledOnTouchOutside(false);
|
|
|
|
|
dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
|
|
|
|
@ -116,6 +121,7 @@ public class BaseActivity extends AppCompatActivity {
|
|
|
|
|
protected void onDestroy() {
|
|
|
|
|
super.onDestroy();
|
|
|
|
|
unregisterReceiver(myReceiver);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void titleToolClick(View view) {
|
|
|
|
|