Page 1 of 1
Firemonkey, Firebird and Android Deployment Sample
Posted: Mon 09 Sep 2019 19:08
I am trying to deploy IBDAC to android for a firebird remote connection. However I get cannot load client library.
Does anyone have or is there a working sample, with a deployment file to help me out?
I have verified the program/connection under windows, but cannot get it to function under android.
I added libfbclient.so, libib_util.so, libfbclient.so.3.0.4 and libfbclient.so.2 and set the path, but still get an the error.
We are using firemonkey and 10.3.2 Rio Delphi.
Re: Firemonkey, Firebird and Android Deployment Sample
Posted: Wed 11 Sep 2019 08:08
You can connect to Android-based Firebird 3 using IBDAC. Support for Andriod-based Firebird is added to IBDAC 6.1.3 as of 19-Sep-17.
You can use the client library provided with Firebird 3 distribution for Android: https://www.firebirdsql.org/en/firebird-3-0/#Android
You should deploy the Firebird 3 client library together with your application. For more information on this topic, please visit: http://docwiki.embarcadero.com/RADStudi ... ying_Files
Before connecting to the server, you should set the correct value in the TIBCConnection.ClientLibrary property. For example:
IBCConnection.ClientLibrary: = TPath.Combine (TPath.GetDocumentsPath, 'libfbclient.so.3.0.3');
Note, to test this functionality, you can use our Mobile demo project. The project is located in the 'Demos\Mobile' folder relatively to the IBDAC demos installation path.