the purpose of my interest was to build a library with slc, which
is what i thought could be done from initial post. as little time
as possible was spent bulletproofing. variables were declared
and assigned simply with a view to silence the compile and to make
things work. they would be handled differently in a production environment.
the classes in the .aars can be extracted and converted to a jar.
with that in hand, i can build a "library" with slc.
in other words, all dependencies and references which appeared
in the posted files were resolved.
i had to turn the various transaction methods into "dummy" routines,
that is, simply emitting logging messages. this is due to the fact
that any app created for this system must be deployed on a
specific ingenico terminal (as described in the documentation).
the terminal is an actual android device. think of the payment system
as a gps or camera on your android device. with intents and listeners
you can access the hardware from your app and receive data back.
with this sytem, your app communicates with the payment system on
the same device. without the terminal there is no way to test anything.
but it does appear possible to "go through the motions", that is:
initialiaze the system, set up listeners (to button clicks), override
methods as required and to receive responses. all of this, while
somewhat tedious, was not terribly difficult. but there is no way to
know what would happen when deploying a b4a app that used the
library or an additional jar to the terminal.
the files posted by op are basically a complete project meant to be built
using android studio. if someone followed the outline in the activity
posted, a b4a app could be built. to access the system, a java
object could be used with the jar i extracted. or the transaction
methods called in the activity could be wrapped in a library as i
did - more or less - with slc. the .jar is already made, so it could be
used by slc to resolve dependencies.
so, i'm included arke.zip (the runnable project), arke.jar (which are
the classes), gvas.jar and gvas.xml (the library and xml)
if the app were deployed on the terminal, it might well initialize the
payment system. from there, i think the rest would not be difficult
since the terminal and the payment software handle the dirty work.
the app is just along for the ride.