• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Sync with a website

cribcaged

Lurker
Hi to everyone,

it's my first post! i hope that is the right place where ask this question

anyway my problem is that i'm developing an app that is an android version of a web application

so there is a web application with his own database and user
and i want that same users can access to this data withing my android app

the problem is: how to sync data from app to website?

i mean...if for every change inside android app i have to make a REST calling to my web application and keep waiting for response...it's very hard to provide a good experience for user

if i create a copy of website's database inside android application, i have the problem to propagate the changing within application to website (what happening if user make a change and android kill my app/service ? internal database will be different from web site database...!)

so...how to implement this feature?

thank you

Daniele
 
The easiest way is to create a WebView and load your website.

If you want your apps to be purely native, then the only way to synchronized your data between your web application and your android apps in realtime is through http post.
 
Back
Top Bottom