Trying to connect from Android to remote Firebird server

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
alfonsopresa
Posts: 7
Joined: Sat 25 Nov 2017 16:56

Trying to connect from Android to remote Firebird server

Post by alfonsopresa » Sat 25 Nov 2017 17:02

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,

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Trying to connect from Android to remote Firebird server

Post by ViktorV » Mon 27 Nov 2017 14:54

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');

Post Reply