I am developing an android application where I am syncing the SQLite database on android device with my SQL server. I have done the same from multiple tutorials using Web Api to post and get the data from SQL server. I have never used a Web api controller before hence don't know much about it.

My syncing is working fine but I just want to sync when the record count on Sqlite doesn't match with sql server. For this I want to get the table record count from Web api controller. I tried searching a lot but not able to find examples. Can you tell me how to post the count from Web service and get it via my Dbhandler in Android.

Related posts

Recent Viewed