The Goal 3:
- Version 3.0.2 full server running. Firebird dynamic native android
.so libraries can be include into and apk. (several changes made on source)
- Start and Stop server from apk is possible, using a foreground
android service. You can crash your apk itself and server continues running.
After that, re-running apk a re-connect to service server to stop or
re-start or read state
- ADO.NET Provider 5.12.0 compiled and full running both embedded and
client to regular server using Xamarin Android C# (several changes made on
source)
- Android includes ICU libraries itself, different ICU version into
different Android version
(https://developer.android.com/guide/topics/resources/internationalization.h
tml ). To support international collations on Android Firebird (linux
Firebird), its required to use same version ICU to create and use an
international DataBase. I have got an only way to perform Android uses same
ICU version to Create and Manage database: Rebuild ICU 52 libraries changing
original names to another and modify unicode_utils.cpp (72,73)
- Because somebody thought the possibility to compile Linux Firebird
version using Visual Studio CMake tools (Mariuz, I think), Ive build
Android and Linux version using directly Visual Studio Project - MsBuild
Cross Compling. To Administers (Alex, Jiri, Mariuz, Helen
.), I can send you
the project with a list of changes made to compile and run Firebird 3.0.2 on
MsBuild Cross Android (x86 ARM) + NET Provider 5.12.0.
Regards
>Hello everybody
>
>Because I need share sources from C#-Windows and Xamarin-Android, Ive
decided try to compile Firebird sources in Visual Studio Cross-Platform and
test it.
>From the Windows version projects structure, Ive used the sources list of
makefile Linux projects and the auto generated sources files of Mariuz
method.
>Actually, Ive been able to compile ok, making a few changes on source
code.
>On the other hand, Ive compile de .NET provider to Android too making a
few changes on source code.
>Ive three goals:
>Goal 1: Android client and Windows/Linux server -> Compiled, running and a
few test.
>Goal 2: Android embedded server -> Compiled and debugging
>Goal 3: Android server and any platform client -> Compiled but not tested
yet
>
>The Goal 2:
>
>Ive been able to create a new Database and afterward the program crash.
The Database integrity is ok. Ive pulled it from Android Virtual Machine
and put into Windows server to confirm it.
>Ive been able to open the created Database and afterward the program
crash.
>
>The status vector returned to the NET Provider, tell me isc_bad_db_handle
= 335544324L. After a few time debugging, Ive seen that the handle
returned from isc_... functions like create or attach database, is not
reusable for >isc_detach_database (is called after create, then crash
-commented above-) or for isc_database_info (is called after open, then
crash -commented above-).
>From the NET Provider, the ref _handle seems be ok before the call to
native libfbclient.so into why.cpp file (values 1 or 2 are shown by Visual
Studio debugger) . In Windows debug, the value stored in the handle continue
being the same after >native call. However, the handle value stored in
Android debug is 0, and exception/error is raise in status vector.
>
>Any ideas?
>Thanks
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel