adb shell
cd /data/data/your package name/databases
sqlite3 **.db

select * from your_table;
insert   update delete ......

2011/12/13 martypantsROK <[email protected]>

> use an external tool such as SQLite Data Browser or SQLiteSpy.  You
> can pull your db off the emulator
> and do whatever you want with it. You'll need a rooted phone to pull
> it off a real device
>
> On Dec 13, 9:13 am, SH <[email protected]> wrote:
> > Hi all.
> >
> > I am working with an Android app using SQLite. I want to see inside of
> > database and write an unit test to check CRUD works well. But I can't
> > find the db file the app is using. So please let me know how I can
> > find the .db file and make a unit test. Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to