Sounds to me like you first need to read up on SQLite and how it works so
you can create and manage your database.  Then, after that, read up on how
Android allows you to interact with your database.

Here is a link to an SQLite tutorial that I found just by googling "SQLite
Tutorial."  I can't vouch for how good it is because I didn't look it over,
but I found it in about 5 seconds worth of time:
http://souptonuts.sourceforge.net/readme_sqlite_tutorial.html

Here are some links to get you started with how to work with databases in
Android:
http://developer.android.com/guide/topics/data/data-storage.html#db
http://developer.android.com/guide/tutorials/notepad/index.html (this
tutorial walks through using a database)

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Mon, Jul 12, 2010 at 1:50 PM, DanH <danhi...@ieee.org> wrote:

> I guess the first question would be:  Do you have questions specific
> to Android, or are you asking, in general, how to do an SQL query
> (and, prior to that, how to populate the database)?
>
> On Jul 12, 10:35 am, Curran <thecur...@hotmail.co.uk> wrote:
> > Hi everyone,
> >
> > I'm still quite new Android development and need a way to read
> > information from a database, which I'm not really sure how to do.
> > Essentially my app is a reference for chemistry students, which will
> > read and display information about topics. The database needs to be
> > pre-prepared (with all the information) but I've got confused how to
> > do this in Eclipse, and also how to get this onto a device.
> >
> > An an example of what I want it to do (without chemistry jargon, and
> > because I'm probably not being too clear :-) ), a user selected the
> > option "Cat", which then pulls from a database things such as "Amount
> > of legs", "Colour", "height" etc. I understand this is probably a
> > really basic thing, but help would be greatly appreciated :)
> >
> > Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to