android - Exporting MySQL data into SQLite database format and store in SQLite database -


i have use remote mysql database information in android application.

is there way can translate mysql data sqlite format , store them in sqlite db access mobile application. need update sqlite db content when modification happen mysql data. have decided when application loads, check modification happened , change sqlite db accordingly. possible.

any sample coding/ idea/link highly appreciated.

thanks in advance

can use mysqldump export information, later import sqlite? mysqldump export data specify, , save file containing bunch of sql statements rebuild data.

so example, if run dump on schema 3 tables , bunch of rows in each, end .sql file commands build 3 tables , enter rows. sql can used import mysql database or other sql databases.

mysqldump

i think create batch script of sort run dump command, use sqlite pick , run .sql file.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -