cryptolens-android.jar
. Pre-compiled jar files can be found here.
Please note thatAdding the library You can add the library by addingHelpers.GetMachineCode()
is not supported and that when you callHelpers.IsOnRightMachine()
, you need to use those that allow you to specify a custom machine code. You can use InstanceId instead or other approaches described later in the tutorial.
api files('libs/cryptolens-android.jar')
in build.gradle
(Module: app), as shown below. Please note that cryptolens-android.jar
needs to be in the libs
folder of your project.
run
method below:
GetMachineCode
and IsOnRightMachine
will not work. Instead, you can use the the identifiers provided by respective platform.