Thanks for the feedback, Manfred.
I am using the following code to initialize the device:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
Dim pg As SwipeController
pg.Initialize("swipe", 30, True, True, "UNIMAG")
End Sub
And I am getting the following error:
https://screenpresso.com/=ubXYf
Line 32 is: pg.Initialize("swipe", 30, True, True, "UNIMAG")
Note: If I spell it UniMag then I get "java.lang.IllegalArgumentException: No enum constant com.SafeWebServices.PaymentGateway.PGSwipeDevice.SwipeDevice.UniMag"
In the original documentation, the first parameter to Initialize is a pointer back to the object, this - what should I use in the B4A version?
lstw.swiper is my package name in Build Configurations; main is my main module.