How to transfer SQLite db to web server on android phone (android)

Posted by Aditya Mehta on Stack Overflow See other posts from Stack Overflow or by Aditya Mehta
Published on 2011-01-13T10:59:27Z Indexed on 2011/01/13 11:53 UTC
Read the original article Hit count: 148

Filed under:
|
|

Hello, I have "BackUpContacts.db" database in SQLiteDatabase, it has a table named "ContactInfo" with column names ContactId, ContactName, MobilePhone1, MobilePhone2, OfficePhone1, OfficePhone2, OfficePhone3, HomePhone1, HomePhone2 and TokenId.

What i want is to transfer all data of "ContactInfo" table to the mysql database system at some server (means server has also a table similar to "ContactInfo", where all data of "ContactInfo" will be copied).

The last important thing which i want is that, whenever i want to get contacts(of a specified TokenId) i can backup all those from server to the mobile device in an xml file.

in short, can here anyone help me how to transfer sqlite db to a web server?

© Stack Overflow or respective owner

Related posts about android

Related posts about mysql