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!
as say, convert local db xml or json , post server. not forget use gzip when transfer.
you can upload db file directly server. db file locate in /data/data/app-package-name/databases. should parse db file in server.
Comments
Post a Comment