Back to project page couchbase-lite-android.
The source code is released under:
Apache License
If you think the Android project couchbase-lite-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.couchbase.touchdb; //www.j a v a2s .c o m import android.database.sqlite.SQLiteDatabase; import android.os.Build; public class RevCollator { public static void register(SQLiteDatabase database) { nativeRegister(database, Build.VERSION.SDK_INT); } private static native void nativeRegister(SQLiteDatabase database, int sdkVersion); // FIXME: only public for now until moved in to same package public static native int testCollateRevIds(String string1, String string2); static { System.loadLibrary("com_couchbase_touchdb_RevCollator"); } }