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

From wizarPOS
No edit summary
No edit summary
Line 1: Line 1:
# Getting method for the path of .so file need change
# 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

  1. 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";