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.
OK, now i get this error instead.
I have tried to copy the .so files to /lib didn't work. I have tried to copy them to both /armeabi-v7 and /armeabi-v7b
Any suggestions?
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:130)
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 **