5acca6a8
杜方
畅游通核销app: 1.补漏上次未上传
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package com.ivsign.android.IDCReader;
import com.ectrip.cyt.config.AppConfig;
public class IDCReaderSDK {
private static final String TAG = "unpack";
public IDCReaderSDK()
{
//if( 0==wltInit("") )
//Log.i(TAG, "wltInit success");
}
public static int Init()
{
return wltInit(AppConfig.RootFile);
}
public static int unpack(byte[] wltdata, byte[] licdata)
{
return wltGetBMP(wltdata, licdata);
}
// native functin interface
public static native int wltInit(String workPath);
public static native int wltGetBMP(byte[] wltdata, byte[] licdata);
/* this is used to load the 'wltdecode' library on application
*/
static {
System.loadLibrary("wltdecode");
}
}
|