How do I statically link sqlite to my android application?

I need to statically link the 3.6.2 version of SQLite against my android application due to a bug that affects the dynamic library bundled with Android < 2.2. I've already compiled and installed 3.6.2 on my development machine, but I'm not sure how I go about linking it to my Android app (developing with Eclipse).

I'm not familiar with building and compiling options, so if someone could walk me through step-by-step, it'd be much appreciated.

-------------Problems Reply------------

SQLite builds "out of the box" using the Android NDK. Get the NDK, create a .mk file for SQLite with the options you desire and build.

Another option is to add the binary to assets and then unzip to /data/data/ and exec it from there.

Category:android Views:0 Time:2010-07-15

Related post

  • How to use sqlite database for android application 2011-01-18

    I am Newbee to Database concepts specially i need relative database concepts..I want an example working that uses sqlite database for android..i walked through android developer site but found very little stuff regarding database examples.. As i am n

  • SQLite Query in Android Application 2011-04-05

    I need a sample code to fetch data from sqlite in android application. based on user id i need to display data in textview. eg. if i give Id:1 i need to display the corresponding values in textview below. Pls Help me with the code Thanks in advance R

  • using sqlite manager in android application 2011-06-16

    Possible Duplicate: How to view SQL database in Eclipse Debug mode for android I am developing an android application which involves data base,,,Fetching data from database Can anyone tell the link of sqlite manager plugin download in android Thanks

  • SQLite Database for Android Application for local highscores. How to open ALL data and then OVERWRITE all data? 2012-01-08

    I found a lot of examples about SQlite. I have no experience with this language, but Android recommends using this database to save things locally. I just can't solve this problem. I have the following (adapted from an example): import android.conten

  • SQLite Optimization for Android application 2010-10-25

    We have about 7-8 tables in our Android application each having about 8 columns on an average. Both read and write operations are performed on the database and I am experimenting and trying to find ways to enhance the performance of the DataAccess la

  • Sqlite schema for android application 2010-11-18

    I am developing an Android application that queries various statistics from a static on-phone database about cars, such as acceleration, engine displacement, doors, etc. I need to specify the format of the database from the client. The UI needs to be

  • Failed Linking Google API in Android Application 2011-01-27

    I'm using the Java Google APIs for an Android application. I followed the usage pattern described here for Authenication and API use: http://goo.gl/rPZ9Z The problem I'm having is that the call to GoogleTransport.create() throws a NoClassDefFoundExce

  • Statically link ruby libraries to c++ application 2011-05-25

    I recently asked a question concerning embedding ruby in a c++ application Embedding ruby in c++, problem with ruby libraries Now I encountered another problem related to this. I managed to compile and run this application, but i can't link ruby stat

  • big sqlite database in android application 2010-12-08

    I am trying to build dictionary app(actually it is a modification of google SearchableDictionary sample), whose source of words and their definitions is very big, around 5MB. I tried many ways and using many formats and it still cant run properly on

  • how to retrieve first row first column (first cell) value from sqlite db in android application? 2012-02-28

    I have worked on sample application for insert the data into SqliteDb and try for get the first row first column value from the database(first cell value). I have implemented code for store the data into data base as follows: private SQLiteDatabase s

  • API for configuring static IP addresses in an Android application 2010-05-27

    Is it possible to set the IP address of an interface in Android within an application? I can query the available interfaces and their current addresses using java.net.NetworkInterface, but this doesn't provide a facility to change these. Did I just m

  • iphone sqlite static linking? 2009-03-10

    Anyone out there statically linking sqlite (as opposed to using the dynamic linking)? I am having issues with users with jailbroken phones not having the same version of sqlite that the stock iPhone assumes (and hence causing crashes). I'm assuming t

  • In qt 4.5, is it possible to have resources in a statically linked plugin? 2009-07-30

    I have a custom QT plugin module that has embedded resources. I want to statically link this plugin with an application: LIBS += -lstatic_plugin_with_resources In the application I am using the Q_IMPORT_PLUGIN() macro, which allows the application to

  • Statically linking GTK+ libaries in windows 2009-12-09

    I have installed GCC and GTK+. Its working fine, but i need to statically link GTK+ libraries with my application (its a small application) so that there exist only one '.exe'. Can anybody suggest a solution for this problem...? --------------Solutio

  • Statically linked application - invalid or corrupt dll 2010-02-01

    I have an application that uses the winInet classes - #include <afxinet.h> and the wininet.dll I would like to statically link the WinInet function calls in my application as well as the dll, so I followed these steps. I then copied the wininet

  • How can I statically link my MFC extension DLL? 2010-03-09

    I have an MFC extension DLL that I've written. It contains derived classes of MFC controls (e.g. replacements for CButton etc) and also contains bitmap resources. I wanted to create a static library - mainly because I do not want the code seperated i

  • What is the best option for preloading and maintaining static data to a SQLite instance in Android? 2011-07-22

    I have an android app, which is basically an exam simulator, it will come preloaded with questions and the user gets a simple multiple choice interface. My question is, what is the best way to preload, or at least manage the task of preloading data i

  • How do i link SQLite Database into an Android Application ? and Via Application which methods will be used to retrieve the database records? 2012-02-19

    I am not been able to link SQLite database with my application. The size of database is around 4-5 Mb. Give me an answer that will help me to link database and methods of making an QUERY to the database and retrieve the same. Thank You in Advance ---

  • static linking Qt with open source version 2012-09-29

    I'm developing an application with the Qt open source edition. As I don't want to deliver the Microsoft Visual Visual C(++) redistributables, I'd like to use a static-linked version of Qt. The Qt licensing information says that I "should" develop wit

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.095 (s). 11 q(s)