Android local Db to XML to mySql via PHP. -


i have application local sqlite database stores records on local phone. want increase functionality , have come conclusion need remote database , server based functionality make application more interactive. @ juncture don't want users lose data due transformation. after research , lookup on internet came know can achieve writing web-service fetch records row row , feed mysql database. confused how achieve this, convert local databases xml file(s) , post them php parse them , feed mysql database or there better way or rather api this? want starting point, heading. thanks!

  1. as say, convert local db xml or json , post server. not forget use gzip when transfer.

  2. you can upload db file directly server. db file locate in /data/data/app-package-name/databases. should parse db file in server.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -