How to Migrate a Payment Application to Q2Premium: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
# | # Change how the so file dir is got: | ||
for example in EMVKernel invoking, when get the path of libEMVKernal.so, code should change to | Use getApplicationInfo().nativeLibraryDir instead of path concatenation,for example in EMVKernel invoking, when get the path of libEMVKernal.so, code should change to | ||
tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so"; | tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so"; |
Revision as of 07:53, 11 May 2023
- Change how the so file dir is got:
Use getApplicationInfo().nativeLibraryDir instead of path concatenation,for example in EMVKernel invoking, when get the path of libEMVKernal.so, code should change to
tmpEmvLibDir = this.getApplicationInfo().nativeLibraryDir + "/libEMVKernal.so";