EasyManua.ls Logo

DSIC DS5-AX - Page 61

DSIC DS5-AX
81 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DS5-AX User Manual Ver.0 2016. 03.17
61
};
@Override
protected void onResume() {
super.onResume();
/*AIDL Service connect*/
bindService(new Intent("app.dsic.barcodetray.IBarcodeInterface"),
srvConn, BIND_AUTO_CREATE);
}
@Override
protected void onPause() {
super.onPause();
/*AIDL Service disconnect*/
unbindService(srvConn);
}
Step 2: Copy
IBarcodeInterface.aidl
package in your source code. Then, make
serviceConnection
global value and set barcode.
Barcode interface value. Bind and unbind service at resume and pause.

Table of Contents