I have created a database and tables in it. Now i want to view the databases and tables from android device and not emulator in eclipse. How do i do that?
Asked
Active
Viewed 85 times
-2
-
How are you going to show the db contents? Using your app or what else? – Phantômaxx Mar 14 '15 at 09:44
-
using an android application yes !! – Vinit Khanna Mar 14 '15 at 09:46
-
i just want to view the contents of table that is stored in database but without using emulator – Vinit Khanna Mar 14 '15 at 09:47
-
`using an android application` - So just **write the application** which reads it. – Phantômaxx Mar 14 '15 at 09:50
1 Answers
0
Follow these steps:
- Firstly you have to download SQLite browser or SQLite Manager
- Then go to DDMS in eclipse(placed on Top-Right corner)
- Then open FileExplorer->data->data->your_project_package_name->your_database_file select this file and pull it out.(You can find pull out icon at top-right corner of your file explorer tab)
- Then save this file and open in SQLite browser or SQLite Manager

Rahul Sharma
- 5,949
- 5
- 36
- 46
-
-
thanks@Rahul Sharma..but i have connected my android mobile and when i click on data folder in file explorer... nothng happens..:\..Please help . – Vinit Khanna Mar 14 '15 at 09:11
-
This is not what the OP asked: `i want to view the databases and tables from android device and not emulator` – Phantômaxx Mar 14 '15 at 09:30
-
i think device's database file is not easily accessible by eclipse, so its not showing, anyway be someone find my ans usefull(in case of emulator) – Rahul Sharma Mar 14 '15 at 09:34
-
Thanks for ur help !! ...but rooting the mobile solve the prob ?? – Vinit Khanna Mar 14 '15 at 09:42