Git Product home page Git Product logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Thanks for your contribution - we will consider integrating it into the common 
build.

Could you please tell, what was the reason to use sqlite4java on Android? I 
thought Android had a pretty good sqlite wrapper among the system libraries.

Igor

Original comment by [email protected] on 27 Jun 2011 at 1:29

  • Added labels: Type-Other
  • Removed labels: Type-Defect

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
[deleted comment]

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
One reason might be a need for multi-plaftorm code.

Original comment by Thotep on 1 Aug 2011 at 6:27

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Thanks - good point.

Original comment by [email protected] on 1 Aug 2011 at 9:57

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Ok, working on this now. I'm not familiar with Android development, so a little 
help would be appreciated. 

The main question is, how would you like Android version of sqlite4java 
delivered? Do you always need to build it, or is it enough to download .SO file 
and place it in the project directory? 

I managed to build .SO with NDK, but not sure about what else do you need as 
deliverables.

Thanks!
Igor

Original comment by [email protected] on 23 Feb 2012 at 10:46

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
generally its ok if .so file would be available, but sometimes they have to 
recompile sqlite with different options (to enable full text search etc.) so it 
would be good if in development tree would also contain Android.mk and there 
would be some android building information somewhere (should be only little 
enhancment of http://code.google.com/p/sqlite4java/wiki/BuildingFromSource for 
android specific stuff)

btw I was removed from android development several months ago but if you would 
have more questions i will forward them to the team

Original comment by [email protected] on 24 Feb 2012 at 12:05

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024

Original comment by [email protected] on 1 Mar 2012 at 4:34

  • Changed state: Delivered
  • Added labels: FixVersion-282
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Thanks for this great support Igor, really appreciated. Just a minor issue, 
when running the jar on Android, it does not report the sqlite4java version as 
it does when running it on other platforms (e.g. Ubuntu).

java -jar sqlite4java output on Linux PC:
     [java] sqlite4java 282
     [java] SQLite 3.7.10
     [java] Compile-time options: ENABLE_COLUMN_METADATA ENABLE_FTS3 ENABLE_FTS3_PARENTHESIS ENABLE_MEMORY_MANAGEMENT ENABLE_RTREE OMIT_DEPRECATED TEMP_STORE=1 THREADSAFE=1

And here's the output on Android:
     [exec] sqlite4java (UNKNOWN VERSION)
     [exec] SQLite 3.7.10
     [exec] Compile-time options: ENABLE_COLUMN_METADATA ENABLE_FTS3 ENABLE_FTS3_PARENTHESIS ENABLE_MEMORY_MANAGEMENT ENABLE_RTREE OMIT_DEPRECATED TEMP_STORE=1 THREADSAFE=1

Original comment by [email protected] on 2 Mar 2012 at 3:55

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Thanks Robert. The code extracts sqlite4java version from the JAR manifest, but 
on the Android's ClassLoader.getResource() does not work for some reason.

Original comment by [email protected] on 2 Mar 2012 at 4:33

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
[deleted comment]

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Any chance to support non-ARM Android platforms, such as GoogleTV? Here's the 
error I'm getting when deploying my test app on GoogleTV:

com.almworks.sqlite4java.SQLiteException: [-91] cannot load library: 
java.lang.UnsatisfiedLinkError: Couldn't load sqlite4java-android-i686: 
findLibrary returned null
  at com.almworks.sqlite4java.SQLite.loadLibrary(SQLite.java:97)
  at com.almworks.sqlite4java.SQLiteConnection.open0(SQLiteConnection.java:1314)
  at com.almworks.sqlite4java.SQLiteConnection.open(SQLiteConnection.java:258)
  at com.robert.Test.<init>(Test.java:110)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load 
sqlite4java-android-i686: findLibrary returned null
  at java.lang.Runtime.loadLibrary(Runtime.java:425)
  at java.lang.System.loadLibrary(System.java:554)
  at com.almworks.sqlite4java.Internal.tryLoadFromSystemPath(Internal.java:349)
  at com.almworks.sqlite4java.Internal.loadLibraryX(Internal.java:124)
  at com.almworks.sqlite4java.SQLite.loadLibrary(SQLite.java:95)
  ... 8 more

Original comment by [email protected] on 26 Mar 2012 at 9:40

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Robert - thanks for your comment. I've posted 
http://code.google.com/p/sqlite4java/issues/detail?id=42 as a separate issue. 
Please star it.

Igor

Original comment by [email protected] on 29 Mar 2012 at 6:14

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Thanks Igor, just did!

Original comment by [email protected] on 29 Mar 2012 at 6:39

  • Added labels: ****
  • Removed labels: ****

from sqlite4java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.