Direct connection to Firebird with IBDac/UniDac from Android using Delphi

1.9k Views Asked by At

I'm trying to connect to a REMOTE Firebird Database from Android using Delphi and IBDac. It says that cannot find libfbclient.so.3.0.2 library. I put it in the deploy to all library paths and nothing. If I remove the library it doesn't connect neither. The android version is 7.0. Thanks in advance.

1

There are 1 best solutions below

0
Sirius6519 On

my solution:

in delphi (deploying): add file libfbclient.so.3.0.2

remote-path: assets\internal

in delphi (program):

no entry in IBCConnection ClientLibrary

source code:

IBCConnection1.Server:= *server-ip or name*;
IBCConnection1.ClientLibrary:= TPath.Combine(TPath.GetDocumentsPath, 'libfbclient.so.3.0.2');
IBCConnection1.DataBase:= *datebase name*;
IBCConnection1.Connect;