1. Download our Official Android App: Forums for Android!

Sqlite Access

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

  1. ramesh_bh

    ramesh_bh Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    17
    Joined:
    Sep 16, 2010

    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
    Rank:
    None
    Points:
    36
    Posts:
    183
    Joined:
    Apr 29, 2010

    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 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    17
    Joined:
    Sep 16, 2010

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 12, 2010

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