Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:quick_guide [2019/07/17 16:45]
jbkim [LED / Output Control]
en:quick_guide [2019/07/17 16:46]
jbkim [Data detected (Card/Finger/Input)]
Line 601: Line 601:
          */          */
         svpManager.run();​         svpManager.run();​
- 
-        findViewById(R.id.button).setOnClickListener(mClickListener);​ 
     }     }
     ​     ​
Line 726: Line 724:
     @Override     @Override
     protected void onCreate(Bundle savedInstanceState) {     protected void onCreate(Bundle savedInstanceState) {
 +        super.onCreate(savedInstanceState);​
 +        setContentView(R.layout.activity_main);​
 +        ​
         /**         /**
          * SDK Initialize.          * SDK Initialize.
Line 737: Line 738:
  
         findViewById(R.id.button).setOnClickListener(mClickListener);​         findViewById(R.id.button).setOnClickListener(mClickListener);​
 +    }
 +    ​
 +    @Override
 +    protected void onDestroy() {
 +        /**
 +         * SDK service stop.
 +         */
 +        svpManager.stop();​
  
-        super.onCreate(savedInstanceState);​ +        super.onDestroy();
-        setContentView(R.layout.activity_main);+
     }     }
     ​     ​