CBFS Storage 2020 Android Edition

Questions / Feedback?

User Mode API

Windows: Note: The user-mode API must be deployed to end-user systems together with the kernel-mode drivers; the version of the kernel-mode drivers on the end-user systems must be equal or newer to the version of the user-mode APIs. Thus, when the user-mode API is installed or updated on end-user systems, it is required to ensure that the kernel-mode drivers already present in the system are updated to match the version of the installed user-mode API.

The user mode API comes in two pieces, both of which must be deployed along with the application:

  1. A JAR file, named cbfsstorage.jar
  2. A native JNI library, named libjnicbfsstorage.so. The library is available for ARM, x64, and x86 processors.

To link both the JAR and the JNI library to your project, you need to add the code, present below, to the build.gradle file of your project. If you are using another build tool, the idea is that you need to tell the tool that it needs to pick the .so files from the lib directory and put them to the resulting APK file.

Sample code for build.gradle:


task copyJNILibs(type: Copy) {
    from 'path_to_product\cbfsstorage-20.0\lib'
    include '**/*.so'
    into 'src/main/jniLibs'
}
preBuild.dependsOn(['copyJNILibs'])

You may copy the above code from the sample projects.

Note that there is also a deploy.jar file that may be used instead of cbfsstorage.jar; it is smaller, and does not contain Intellisense data or Javadoc content.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 Android Edition - Version 20.0 [Build 8237]