[android-beginners] Re: SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Bret Foreman
I'm in the DDMS file manager now and can't see anything related to
SQLite. Do you know the exact path and filename for the datafle?

Note that I discovered that onCreate wasn't being called because I got
an exception from insertOrThrow that said no such database. So I'm not
really sure if the db exists.

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


Re: [android-beginners] Re: SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 1:19 PM, Bret Foreman bret.fore...@gmail.com wrote:
 I'm in the DDMS file manager now and can't see anything related to
 SQLite. Do you know the exact path and filename for the datafle?

Sorta. /data/data/your.package.name/databases/your.database.name

where your.package.name is the package you gave your application in
the manifest, and your.database.name is the name you gave the
database.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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