//
// Generated by JavaToPas 20140406 - 210726
// *** unregistered evaluation copy ***
////////////////////////////////////////////////////////////////////////////////
unit net.sqlcipher.database.SQLiteDatabase;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
net.sqlcipher.database.SQLiteTransactionListener,
net.sqlcipher.database.SQLiteDatabase_CursorFactory,
net.sqlcipher.database.SQLiteDatabaseHook,
Androidapi.JNI.GraphicsContentViewText,
net.sqlcipher.database.SQLiteClosable,
net.sqlcipher.SQLException,
net.sqlcipher.database.SQLiteDatabase_SyncUpdateInfo,
net.sqlcipher.database.SQLiteDatabaseCorruptException,
net.sqlcipher.database.SQLiteStatement,
net.sqlcipher.Cursor,
net.sqlcipher.database.SQLiteCursorDriver,
net.sqlcipher.database.SQLiteCursor,
android.content.ContentValues,
net.sqlcipher.database.SQLiteCompiledSql,
android.util.Pair;
type
JSQLiteDatabase = interface;
JSQLiteDatabaseClass = interface(JObjectClass)
['{9366527F-7E37-4BEF-9E18-93E69A02D5CA}']
function compileStatement(sql : JString) : JSQLiteStatement; cdecl; // (Ljava/lang/String;)Lnet/sqlcipher/database/SQLiteStatement; A: $1
function create(factory : JSQLiteDatabase_CursorFactory; password : JString) : JSQLiteDatabase; cdecl;// (Lnet/sqlcipher/database/SQLiteDatabase$CursorFactory;Ljava/lang/String;)Lnet/sqlcipher/database/SQLiteDatabase; A: $9
function delete(i : Integer; numArgs : Integer; e : JSQLiteDatabaseCorruptException; table : JString; whereClause : JString; whereArgs : TJavaArray<JString>; statement : JSQLiteStatement) : Integer; cdecl;// (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I A: $1
function findEditTable(spacepos : Integer; commapos : Integer; tables : JString) : JString; cdecl;// (Ljava/lang/String;)Ljava/lang/String; A: $9
[...]
end;
[JavaSignature('net/sqlcipher/database/SQLiteDatabase$ActiveDatabases')]
JSQLiteDatabase = interface(JObject)
['{DB8BBC42-3A10-47B7-882B-DAA528BE65C0}']
//
// Unregistered copy: Implementation not written
//
end;
There are two other utilities that I know of that will create interface files out of class files for Android. The first one, Android 2 Delphi Import tool, has no free trial and has to be purchased with Bitcoins. The second one, JavaImport For Android, has a free trial but only works on Java class files directly and not on JAR files. I’d like to see JavaImport handle JAR files directly.
Head over and download the Java2pas utility from the Software Union website.