Learn How to Access a Database From the Command Line
Accessing a database from the command line
The Android Emulator is packaged with a valuable application that you can use to explore a database that's on the Emulator. It's called SQLite3, and I'll show you how to use it here. I'm running the application, and the Emulator is live. That's the first thing you need to do before you try to explore the database. Then go to a Command window. I'm working on a Mac, so I'll use Terminal. If you're working on Windows, you can run the CMD Command.
The first step is to go to the folder that contains your Android SDK. I installed the ADT Bundle and the SDK on my desktop. So, starting from my Home folder, I'll change first to the Desktop folder, and from there to the ADT Bundle folder Mine is called adt-bundle-mac, butt if you're working on Windows, it will have a different name. And then from there, I'll switch to sdk subfolder. I'll list the contents of the SDK. You want to change to the platform Tools folder.
I'll type cd, then platform- and I'll p...
Building Mobile Apps with Google Maps Android API v2115,725 Views
Connecting Android Apps to RESTful Web Services147,811 Views
Distributing Android Apps (2014)49,038 Views
Building a Note-Taking App for Android (2013)224,476 Views
Building Adaptive Android Apps with Fragments103,400 Views
Illustrator CC 2013 One-on-One: Fundamentals1,676,368 Views
PHP with MySQL Essential Training4,259,922 Views