Android Question Accesing third party SDK with #Additionaljar

Antonio Contesti Coll

Member
Licensed User
Longtime User
Hello Erel

I want to use the UHF Reader Library to use a RFID Reader connected to the jack
I send the zip file with the jar library, the documentation quite easy and a android pexample rogram
I don't know how to start in B4A
I only want to use the metod to open the service and the method readEPC ans also the 3 events
May you help or tell me how to start
Thanks
 

Attachments

  • IVF_RU01_Android_SDK_1.1.zip
    428.3 KB · Views: 289

Antonio Contesti Coll

Member
Licensed User
Longtime User
I've tried

Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Dim wdj As JavaObject
wdj.InitializeStatic("rfid.ivrjacku1.IvrJackService")
wdj.RunMethod ("open", Array (GetContext,GetActivity))

End Sub

Hello i initialize the Service object but when i try to exec The "open" method i've the error
java.lang.RuntimeException: Method: open not matched.
 
Upvote 0
Top