Firebird 5.0 Android

298 views
Skip to first unread message

Piergiorgio Valli

unread,
Dec 4, 2023, 9:12:11 AM12/4/23
to firebird-support
I should use Firebird for an application on Android with multithreading.
In the documention I read Local connections where I can use Classic and SuperClassic offer an “embedded

With multithreading connection can I use a transaction for every  connection or there are limitation compare to an installation on Windows?

Usually on Android I use Sqlite but there very limitation with multithreading and transactions.
This could be big advantages compare to Sqlite an opportunite to Firebird.

Thanks
Pier


Mark Rotteveel

unread,
Dec 4, 2023, 9:14:48 AM12/4/23
to firebird...@googlegroups.com
Regarding your subject, please be aware that Firebird 5.0 hasn't been
released yet. Questions specifically about Firebird 5.0 should be asked
on firebird-devel as long as it hasn't been released yet.
The embedded engine is exactly the same database engine as used in
Firebird server. You can have multiple connections and multiple
transactions from within the same application (and even multiple
applications if the servermode is configured appropriately, though I
don't think that is relevant for Android)

Mark
--
Mark Rotteveel

Dimitry Sibiryakov

unread,
Dec 4, 2023, 10:55:49 AM12/4/23
to firebird...@googlegroups.com
Piergiorgio Valli wrote 04.12.2023 13:37:
> With multithreading connection can I use a transaction for every connection or
> there are limitation compare to an installation on Windows?

Even on Windows you must use separate connections if you want to use them
simultaneously from concurrent threads. Transactions are not enough.

--
WBR, SD.

Piergiorgio Valli

unread,
Dec 5, 2023, 4:59:37 AM12/5/23
to firebird-support
Hi, thanks for quickly reply. 
I should build Qt with firebird support and Android. On Windows I have builded the driver for Firebird already.

I will send feedback after the test.
Thanks
Pier

Piergiorgio Valli

unread,
Jan 15, 2024, 4:50:01 PM1/15/24
to firebird...@googlegroups.com
Hi All,

I should use Qt 5.15.12 with Firebird, I have installed an vm with Ubuntu 20.04,

Now I have used include folder of the package Firebird-5.0.0.1306-0-linux-arm64.tar.gz.

When I build the driver I need to specify the lib folder and include folder, Header files are the same?
What is the minimum ndk version  supported?

In WIndows when I use the library fbclient.dll I put all files (firebird.conf, firebird.msg etc) in the same folder of the library, on android it is the same?
Can I enable a log? Usually I use logcat to catch messages

Thanks
Piergiorgio Valli


--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/433f1265-ffdc-4b78-b723-a5a3a3b3efeen%40googlegroups.com.

Piergiorgio Valli

unread,
Jan 17, 2024, 4:55:16 AM1/17/24
to firebird-support
Hi  All

Today I saw an example on github for Android


Pier

Piergiorgio Valli

unread,
Jan 24, 2024, 7:29:25 AM1/24/24
to firebird-support
Hi all,
thanks for support ,finally after many tests, it works. I have built Qt 5.15.12 with QIBASE driver for Android 13.

I should create an readme where are all steps to use Firebird. Now  I should by tests.

Thanks
Pier
Reply all
Reply to author
Forward
0 new messages