Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialglenn romaniuk
32,520 PointsAndroid Studio - SQLite - Where DB is stored
I'm working thru the android studio track. I'm at the lessons on integrating SQLite. Where does the DB actually reside? In the app/on the device or on the cloud. Where is this designated?
1 Answer
Philip Gales
15,193 PointsIt would be stored on the phone. As long as you are using an emulator, you can go into settings > app settings and clear the data for your app if you want to rerun the code to create your database. I often do this as I am fine-tuning my database.