1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Sqlite Access


Last Updated:

  1. ramesh_bh

    ramesh_bh Member This Topic's Starter

    Joined:
    Sep 16, 2010
    Messages:
    17
    Likes Received:
    1
    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

    Joined:
    Apr 29, 2010
    Messages:
    183
    Likes Received:
    5
    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 This Topic's Starter

    Joined:
    Sep 16, 2010
    Messages:
    17
    Likes Received:
    1
    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

    Joined:
    Nov 12, 2010
    Messages:
    2
    Likes Received:
    0
    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...