• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Where can I find my SQLite Database

LV67

Lurker
I made my first app that stores data in a SQLite Database.
The app is installed on a HTC phone.

I connected now my phone to my computer with a cable and searched by Windows Explorer to find the SQLite database but couldn't find it.

Can someone help me for this ?
 
Why don't you export the database to a file and transfer that file to your computer?
 
It's also a possibility. I found many ways on the internet how to do so, but how do you recommend ?
What do you want to do with that file? It's just for backup or you want to import the data in your computer? (I assume that you have a running HTTP server on your computer with access to a DB like MySQL)
 
At the end I want to import the data in my computer and use it by Excel. For the moment I downloaded the jar opencsv and added this to my app. Now I'm looking for a piece of code to get the export done to a csv file.
 
This looks perfect.
I'm going to get it working in that way.

I read following text :

Create following PHP Classes and place them under ‘www/sqlitemysqlsync’ folder which will provide interface between Android application and MySQL DB:

I have a website and a Cpanel where I can create a MySQL database.
Do I have to place the php files then in a directory www.thisismysite.be/sqlitemysqlsync folder and is this a safe way ?
 
This looks perfect.
I'm going to get it working in that way.

I read following text :



I have a website and a Cpanel where I can create a MySQL database.
Do I have to place the php files then in a directory www.thisismysite.be/sqlitemysqlsync folder and is this a safe way ?
Yes I guess it's just the name of the folder, if you want to use other folder name you should also change it in the code (if any) accordingly.
 
Back
Top Bottom