Page 1 of 1

android and firebird embedded demo

Posted: 04.06.2021, 16:18
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

Re: android and firebird embedded demo

Posted: 09.06.2021, 08:11
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

Re: android and firebird embedded demo

Posted: 09.06.2021, 10:34
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.

Re: android and firebird embedded demo

Posted: 14.06.2021, 15:32
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 ?

Re: android and firebird embedded demo

Posted: 14.06.2021, 15:51
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