I have created a wrapper for a library using inline java
it is part of a class module.
I have compiled it to a library (alt+f5)
and now i need to use it in another app.
the initialize sub in this library is like that:
it works in my test app, where the class module is just a class of the app.
Now that this is a library and I am referencing it by the Libraries Module it is not finding my JAVA inline CLASS.
I dont know how to find it, I have tried many things. I dont understand how the java PATH is for initialize a new instance.
Any help?
B4X:
#if java
import android.content.Context;
import android.app.Activity;
import java.util.HashMap;
import java.util.List;
import ca.nexu.nexupayment.NexuPayment;
import ca.nexu.nexupayment.NexuPaymentPrinterListener;
import ca.nexu.nexupayment.NexuPaymentTransactionListener;
public static class nexutransaction implements NexuPaymentTransactionListener, NexuPaymentPrinterListener {
it is part of a class module.
I have compiled it to a library (alt+f5)
and now i need to use it in another app.
the initialize sub in this library is like that:
B4X:
nexupayment = start.InitializeNewInstance(Application.PackageName&".ynexu.nexutransaction", Null)
it works in my test app, where the class module is just a class of the app.
Now that this is a library and I am referencing it by the Libraries Module it is not finding my JAVA inline CLASS.
I dont know how to find it, I have tried many things. I dont understand how the java PATH is for initialize a new instance.
Any help?