1. Check out our companion app, Forums for Android! Download from Google Play

Sqlite Access

Discussion in 'Android Apps & Games' started by ramesh_bh, Sep 28, 2010.

  1. ramesh_bh

    ramesh_bh Member
    Thread Starter
    16

    Sep 16, 2010
    17
    1
    16
    Hi,

    I am new to the development, i have created a database and i have inserted values using eclipse code and i have successed on that,
    But i want to see where this database exists, i have checked on tools directory from command prompt and if i query the table using select , it is saying that no table exists,
    Can anyone please tell me that how to access database from command line ??

    Please help
     

    Advertisement

  2. Brinkley1988

    Brinkley1988 Well-Known Member
    36

    I don't think you could access the database through command line.

    But there's some database client apps in market, you could have a search using the keyword:

    SQLite

    And, I've seen some PC client and android apps from the internet too. You could also have a search.
     
  3. ramesh_bh

    ramesh_bh Member
    Thread Starter
    16

    Sep 16, 2010
    17
    1
    16
    okay thanks for the reply!!

    Can we access the db from the emulator ? we have terminal in the emulator, can we see the database and all the tables from the emulator? if so please let me know ?
     
  4. klev

    klev New Member
    5

    Nov 12, 2010
    2
    0
    5
    Well, i think databases are stored in /data by default.

    From command line through adb shell you can access ur database using sqlite3.
     

Share This Page

Loading...