How to Migrate a Payment Application to Q2Premium: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 1: Line 1:
# Get native library files:
# Get path of native library files:


If an application contains native library files, the path to the native library can be obtained using this statement.
If an application contains native library files, the path to the native library can be obtained using this statement.
Line 6: Line 6:


for example in EMVKernel invoking, when get the path of libEMVKernal.so, snippet code is:
for example in EMVKernel invoking, when get the path of libEMVKernal.so, snippet code is:
<syntaxhighlight lang="java" line='line'>
<syntaxhighlight lang="java" >
tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so";
tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so";
</syntaxhighlight >
</syntaxhighlight >

Revision as of 02:57, 12 May 2023

  1. Get path of native library files:

If an application contains native library files, the path to the native library can be obtained using this statement.

getApplicationInfo().nativeLibraryDir+"/xxx.so".

for example in EMVKernel invoking, when get the path of libEMVKernal.so, snippet code is:

tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so";