I agree the existence of the driver should be mentioned at least in the JDBC package docs. Would you mind creating a ticket for this?
JDBC is somewhat of a second-class citizen in the Android world, since Android has its own database API (that is actually not too far away from JDBC, but has much better integration with the UI framework). I guess this is why the docs don't encourage you to use JDBC. Still, JDBC is usable, and - as you already noticed - it is possible to install additional drivers. Regarding android.jar, I never checked but I could imagine that it contains only the public API classes and might even have the actual bytecode erased. Nothing is ever run against it. It is just there to make Javac or Eclipse happy (somebody please correct me if I'm wrong). On the device, the driver should be part of /system/framework/ core.jar. Cheers, Joerg On 8 Dez., 21:56, kristianlm <kristianl...@gmail.com> wrote: > I see. I still think the documents are lacking! > > Am I the only one who'd want a comment on the JDBC > support in the dev-guide documents? > > There seems to be a fair share of confused people out there ... > > On Dec 8, 8:33 pm, jotobjects <jotobje...@gmail.com> wrote: > > > On Dec 8, 11:02 am, kristianlm <kristianl...@gmail.com> wrote: > > > > I cant believe this though - there's already a driver available? I > > > can't find that in the docs anywhere! Which java.sql online manual are > > > you looking at? I'm > > > athttp://developer.android.com/reference/java/sql/package-summary.html > > >http://dev.android.com/reference/java/sql/package-summary.html > > > That's JDBC - the Connection object uses a JDBC driver for SQLite. > > > Try Connection.getMetaData().getDriverName() and see what you get. > > Probably it will be "SQLite.JDBCDriver" > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en