I have used Justin's approach with my app, and have found it to be a very good 
approach as this can then handle database versioning.

Mikey

On 20 Jul 2010, at 16:26, Rodney Lendore wrote:

> 
> Hi Kostya,
> 
> Given the diffculties I have had porting a database I created in SQLite 
> Browser. I am going to try the approach you suggested.
> 
> Many Thanks
> On Fri, Jul 16, 2010 at 8:41 PM, Kostya Vasilyev <kmans...@gmail.com> wrote:
> 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 <rodney.lend...@gmail.com> 
>> 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 <janderson....@gmail.com> 
>> 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 <danhi...@ieee.org> 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 <rodney.lend...@gmail.com> 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
>> android-beginners+unsubscr...@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
>> 
>> -- 
>> 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
>> 
>> -- 
>> 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
> 
> 
> -- 
> 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
> android-beginners+unsubscr...@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

-- 
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