Page 1 of 1

Trying to connect from Android to remote Firebird server

Posted: Sat 25 Nov 2017 17:02
by alfonsopresa
Hi, Is there any example of Android App connecting to remote Firebird Database? Where should I copy the libfbclient.so.3.0.2 library? Thanks in advance,

Re: Trying to connect from Android to remote Firebird server

Posted: Mon 27 Nov 2017 14:54
by ViktorV
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.
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:

Code: Select all

IBCConnection.ClientLibrary: = TPath.Combine(TPath.GetDocumentsPath, 'libfbclient.so.3.0.2');