Aditya Jain
Aditya Jain
Yes i already tried this but it was giving instantiation error `java.lang.java.lang.InstantiationException: java.lang.InstantiationException: android.content.Context`
I believe this is related with JPype as what we are getting is object of JClass where what we should get is object of Context. I didn't find any other...
I have tried with multiple classes, Default constructor is not giving correct return type, If there is a parameterise constructor then it gives object correctly. For default it gives _jpype._JClass...
connect method connects to a system service which accepts above 4 params, `handle.connect(Constants.DATA_DIR, Constants.namespace, serviceConnection, None)` First is path, second is db name, 3rd is Service Connection callback and 4th...
Are you pointing out here: ` __javainterfaces__ = ['test/callback/ServiceConnectionCallback'] actualResult = "" @java_method('()Z') def onConnect(self) : print ("Connected") @java_method('()Ljava/lang/Object;') def onFailure(self, err) : print("Failed to connect with error "+ err)`...
I have added logs in callback class before any method and it is not reaching to that point either, So i believe this error is not related to the error...