android and firebird embedded demo

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
User avatar
Sergiomaster
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 13.06.2011, 12:37

android and firebird embedded demo

Post by Sergiomaster »

Hi,
I tried the demo found I always ran in a
Code: 2. No such file or directory
error :|
I don't understand why, I suspect a deployment problem but, I don't see where :cry:
Capture.PNG
a suggestion, add the project1.deployproj to the "examples/android and firebird embedded" dir

Environment
Sidney 10.4.2
Android 32 bits
You do not have the required permissions to view the files attached to this post.
Main uses Delphi3/7/2010/Rio 10.3/Sidney 10.4 + Interbase/Firebird
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: android and firebird embedded demo

Post by marsupilami »

Hello Sergio,

erm - the Project1.deployproj is part of the SVN. Did you put the Firebird 4 files in the firebird subdirectory? Also the project is meant to be used with Android 64 Bits. I am pretty sure, it will not work with Android 32 Bits. Did you take a look at our Wiki page reagrding how to use Firebird 4.0 with Zeos on Android? It should give you some pointers on how to set up things in your project.

Best regards,

Jan
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: android and firebird embedded demo

Post by marsupilami »

Some more notes:
- I had to fix a line in the current Zeos to get Zeos to compile. So maybe you want to update your Zeos 8.0 checkout. (GIT will be updated during the night.)
- Did you put the firebird.msg into the firebird folder? It is not distributed with Firebird 4.0. I just grabbed one from the Windows ZIP kits.
- You migt want to remove the ICU stuff from the deployment list - it is not distributed with Firebird anymore and doesn't seem to be necessary.
User avatar
Sergiomaster
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 13.06.2011, 12:37

Re: android and firebird embedded demo

Post by Sergiomaster »

Hi, Jan
marsupilami wrote: 09.06.2021, 08:11 erm - the Project1.deployproj is part of the SVN.
:oops: I missed it
Did you put the Firebird 4 files in the firebird subdirectory?
yes
Also the project is meant to be used with Android 64 Bits. I am pretty sure, it will not work with Android 32 Bits.
Ah, this could be the reason, I have only a 32 bits to test
Did you take a look at our Wiki page reagrding how to use Firebird 4.0 with Zeos on Android? It should give you some pointers on how to set up things in your project.
Yes, it was my first "source"
- I had to fix a line in the current Zeos to get Zeos to compile. So maybe you want to update your Zeos 8.0 checkout. (GIT will be updated during the night.)
I will reload branch ASAP
- Did you put the firebird.msg into the firebird folder? It is not distributed with Firebird 4.0. I just grabbed one from the Windows ZIP kits.
So I did :)
- You migt want to remove the ICU stuff from the deployment list - it is not distributed with Firebird anymore and doesn't seem to be necessary.
It was my further step to check what was truly needed.
Did you change some things in the .conf files ?
Main uses Delphi3/7/2010/Rio 10.3/Sidney 10.4 + Interbase/Firebird
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: android and firebird embedded demo

Post by marsupilami »

Hello Sergio,
Sergiomaster wrote: 14.06.2021, 15:32
Also the project is meant to be used with Android 64 Bits. I am pretty sure, it will not work with Android 32 Bits.
Ah, this could be the reason, I have only a 32 bits to test
Ok - I only tested with Android 64 Bits because Google will only accept 64 bits apps into the Play Store. Maybe if I have some time, I will try to extend the example to also cover 32 bits.
Sergiomaster wrote: 14.06.2021, 15:32 It was my further step to check what was truly needed.
Did you change some things in the .conf files ?
I didn't do any changes for the config files. For using Firebird as embedded only, it isn't necessary. Regarding "what is truly needed": the Firebird 4 Migration Guide has a chapter on what is needed for embedded use.

Best regards,

Jan
Post Reply