Recent

Author Topic: How to build_debug_apk liblclapp.so and libgds.so together in apk ?  (Read 9846 times)

Fortuna1

  • Full Member
  • ***
  • Posts: 164
How to build_debug_apk liblclapp.so and libgds.so  together in apk ?

I try androidlcltest  connect to database in firebird.

SSHTunnel say is  Connected,


when try connect to Firebird Database

Now get this message:
cannot initialize interface interbase from library "libgds.so"

Adroid  is linux.
if there is no visual component should work.

Connect to database must work.

androidlcltest  do: liblclapp.so
Firebird client is  : libgds.so


I think that this is not Firebird client problem.

This is a problem how build  androidlcltest.

Build_debug_apk must buld together.

How???


« Last Edit: October 13, 2012, 04:19:16 pm by Fortuna1 »

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #1 on: October 16, 2012, 08:48:52 am »
Did you try putting libgds.so into yourproject/android/libs/armeabi/ before building the APK?

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #2 on: October 16, 2012, 03:25:48 pm »
Yes I try.

But Build_debug_apk not  build together.


eMarc

  • New Member
  • *
  • Posts: 35
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #3 on: October 19, 2012, 11:44:10 am »
I didn't knew there is an ARM binary Firebird client. That's very interesting, ¿ where did you get your ARM libgds.so ?.

¿ Have you tried to manually copy this file to your Android device ?.

You can also try an APK Manager to distribute libgds.so, like this one : http://forum.xda-developers.com/showthread.php?t=695701

Regards.
« Last Edit: October 19, 2012, 11:46:56 am by eMarc »

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #4 on: October 19, 2012, 12:30:14 pm »
libgds.so   is linux firebird client.

I thing  no need  ARM binary Firebird client.

Adroid is linux.
And Firebird client si  nonvisual component.
This should work.

I thing the problem here
C:\lazarus\examples\androidlcl\android\AndroidManifest.XML

I try correct
 Edit AndroidManifest.XML  and   build_debug_apk .
Yet without success.
 
http://developer.android.com/guide/topics/manifest/uses-library-element.html

https://groups.google.com/forum/?fromgroups#!forum/android-developers

« Last Edit: October 19, 2012, 12:49:15 pm by Fortuna1 »

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #5 on: October 19, 2012, 12:38:08 pm »

¿ Have you tried to manually copy this file to your Android device ?.


YES
I copy this file to on all possible folders on Android device.

But on android  is no other   *.so   .




So it must be all  *.so together in the apk

eMarc

  • New Member
  • *
  • Posts: 35
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #6 on: October 19, 2012, 12:51:26 pm »
libgds.so   is linux firebird client.

I thing  no need  ARM binary Firebird client.

A .so file is a binary file, so it must be compiled for the ISA of the architecture it will have to run on.

I think that we don't have any ARM Linux client at the moment, but they are working on it, or at least there is interest.

http://tech.groups.yahoo.com/group/firebird-python/message/41

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #7 on: October 19, 2012, 01:14:56 pm »
Thanks, eMarc. I tried to explain this to Fortuna1 but obviously failed.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

eMarc

  • New Member
  • *
  • Posts: 35
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #8 on: October 19, 2012, 11:09:39 pm »
I suppose you can ask those people if they have a beta Firebird Client for Android available.

http://android-dev.ro/web/admin/home/-/blogs/we-can-now-say-that-firebird-client-3-0-for-android-is-running-!
« Last Edit: October 19, 2012, 11:11:42 pm by eMarc »

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #9 on: October 20, 2012, 09:07:32 am »
Ok

Take the firebird client 3.0.

Problem remains the same.

How to build together?

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #10 on: October 20, 2012, 09:23:57 am »


http://android-dev.ro/web/admin/home/-/blogs/we-can-now-say-that-firebird-client-3-0-for-android-is-running-!

How to ask
 Jean-Louis Meuriot

about    Friebird client for Android?

Is there any proposal?


eMarc

  • New Member
  • *
  • Posts: 35
Re: How to build_debug_apk liblclapp.so and libgds.so together in apk ?
« Reply #11 on: October 22, 2012, 09:25:34 pm »
Hello.



http://android-dev.ro/web/admin/home/-/blogs/we-can-now-say-that-firebird-client-3-0-for-android-is-running-!

How to ask
 Jean-Louis Meuriot

about    Friebird client for Android?

Is there any proposal?

On his messages you can see that his mail is likely to be : <so4h2jlm <at> hotmail.com>

You can also try to post directly on the newsgroup : gmane.comp.db.firebird.devel

Regards

 

TinyPortal © 2005-2018