Which Eclipse Android project folder to place databases

2 replies [Last post]
mnnewbie
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 06/21/2010

Hello,
I am new to Android development, so I apologize in advance if this is a silly question.
I can create a database and then create tables, etc. via the sqlite3 cmd line util just find. I can see the database in the directory when I exit sqlite3. My question is where in my Eclipse Android project folder structure do I copy this db so I can access from my code? Also, how to I point to it in my code when I want to open it?
Thank you in advance
-Chris

cactusmitch
User offline. Last seen 44 weeks 20 hours ago. Offline
Joined: 11/17/2010
Figured (it) out!

I'm at about the same place in my project.
5apr2011 -
sqlite3 *.db (database files) go in the :
/data/data/your_project_ident/databases/your_database_name.db

your_project_ident is like >>>>>> org.exampleSite.myProject <<<<<<
your_databse_name is like >>>>>>>&gt; events.db <<<<<<<

best ...

cm

pandorauk
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 12/07/2010
it is sometimes world of hard

it is sometimes world of hard to Pandora in a world of adults Pandora Bracelets