Rodney,

Just one more option - write a small Android app to create the database, then pull it from the device using "adb pull" and place into the "real"
project as an asset.

-- Kostya

16.07.2010 23:31, Justin Anderson ?????:
If I were doing it I would just create it in code... It is quite a small database.

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


On Thu, Jul 15, 2010 at 8:42 AM, Rodney Lendore <[email protected] <mailto:[email protected]>> wrote:

    The database will in the end contain about 100 rows and 3 columns.
    But this database will not be written to by the user simply read
    from to gain some generic information, depending on which buttons
    a user clicks.

    Thanks

    On Mon, Jul 12, 2010 at 9:23 PM, Justin Anderson
    <[email protected] <mailto:[email protected]>> wrote:

        Unless the database is going to be quite large, I would just
        create it in code the first time you start up the app... How
        large are you anticipating this database is going to be?



        ----------------------------------------------------------------------
        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:56 PM, DanH <[email protected]
        <mailto:[email protected]>> wrote:

            Certainly in Java code you can create it, or in C++, or
            with a stand-
            alone PC tool such as SQLite Expert.  SMOP.

            Dunno about /res.

            On Jul 8, 4:30 pm, Rodney Lendore
            <[email protected]
            <mailto:[email protected]>> wrote:
            > Hi,
            >
            > I am trying to create a pre-populated sqlite database to
            be shipped with my
            > application. The database is to contain three columns.
            >
            > | ID | Name | URL |
            >
            > and possibly several hundred rows. Is there a way I can
            create this in /res
            > or java code smartly ? Forgive me I am fairly new to
            Java and have little
            > experience with SQL.
            >
            > Thanks very much in advance for you help
            >
            > Rodney

            --
            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
            [email protected]
            <mailto:android-beginners%[email protected]>
            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
        [email protected]
        <mailto:android-beginners%[email protected]>
        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
    [email protected]
    <mailto:android-beginners%[email protected]>
    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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to