Sure you can copy whatever you want, just as long as it isn't using private
APIs. :)  How much you will need will depend on high much of the
higher-level APIs you use...  I don't know off-hand, you'll need to go
through the code and see what things the parts you need end up using.

On Fri, Sep 4, 2009 at 10:59 AM, Keean Schupke <[email protected]
> wrote:

>
> Okay. If i can't do that, what about using the JNI sqlite interface
> from the android source, and having a local copy of the
> android_database_*.cpp code?
>
> Is this possible?
>
> Which classes would I need to make local copies of to modify to the
> the NDK wrapped android_database_* libraries?
>
> Do these classes make prolific use of private APIs that would make
> them hard to separate out?
>
> Regards,
> Keean.
>
> On Sep 4, 6:03 pm, Dianne Hackborn <[email protected]> wrote:
> > Sorry, no.
> >
> > On Fri, Sep 4, 2009 at 2:13 AM, Keean Schupke
> > <[email protected]>wrote:
> >
> >
> >
> > > With the NDK I can wrap a native library so I can call the methods
> > > from Java and package that library into my application.
> >
> > > Say I want to package a custom version of SQLite, is there any way to
> > > override the system library for SQLite, so I dont have to reimplement
> > > the SQLiteDatabase class?
> >
> > > Regards,
> > > Keean
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to