Sample showing a more detailed look at how to use the Onyx Fragment with verification.
If you don't already have Android Studio, you can download it here.
Once Android Studio is installed, please contact DFT to purchase your ONYX license here.
Note: Make sure you have updated to the latest Android SDK via the SDK Manager.
You should receive a license key of the form XXXX-XXXX-XXXX-X-X at your provided e-mail address.
Next, you can clone our sample repository on the command-line using the following commands:
> cd <YOUR_DEVELOPMENT_ROOT> > git clone https://github.com/DFTinc/onyx-demo-detailed-sample-android.git
Alternatively, you can clone the project via Android Studio:
VCS >> Checkout from Version Control >> GitHub, and follow the on-screen instructions.
Right click on
app/src/main/res/values and select
"New >> Values resource file". Name the file
license.xml, and place the following contents into
this file as shown below:
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- Replace this string with your ONYX license key --> <string name="license_key_value">YOUR-LICENSE-KEY-HERE</string> </resources>
license.xml will be automatically ignored from the git repository, so you don't need to worry about your license becoming publicly accessible.
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Build >> Make Project" in Android Studio.
Now plug in your compatible device, and select Run >> Run 'app'.
- Diamond Fortress Technologies Support Site: support.diamondfortress.com