Don't wrap a full activity or service unless you must. It will be simpler. You can call it from anywhere you like as long as it gets called once.
The folder should be named lib.
Did you get the same error? If the lib folder included in the jar file?
ISMPWrapper(IsInitialized): IsInitialized=false
ISMPWrapper: Initialize
java.lang.UnsatisfiedLinkError: Couldn't load pclapi: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at se.iqpd.checkout.plus.ISMP_Companion.Initialize(ISMP_Companion.java:133)
at se.iqpd.checkout.plus.main._activity_resume(main.java:1434)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:158)
at se.iqpd.checkout.plus.main.afterFirstLayout(main.java:104)
at se.iqpd.checkout.plus.main.access$100(main.java:16)
at se.iqpd.checkout.plus.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
Did you get the same error? If the lib folder included in the jar file?
Wait a minute, did you mean the B4A lib dirctory or inside Eclipse or Librarys in B4A?
You should open the jar file with 7zip. There should be a folder named lib inside of it.
You can use SLC to build the library. You should then put the lib folder inside a folder named additional.
You can use SLC to build the library. You should then put the lib folder inside a folder named additional.
You should read about SLC and how it should be configured.
If you need to include any additional files, such as .so files, in the jar then you can create a folder named 'additional'. Any file or folder inside this folder will be added to the jar file.
This:
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?