Background service to access websql/sqllite in android?
===

I'm doing jquery mobile application for android with html5. We use websql for the local data storage. Is it possible to run a service in background which can access this db and upload some data from local DB to the server SQL DB? I really don't have any idea about it. Please suggest.

Heard that in browser we can't do such background services. If I move my data from websql to android supported sqllite, is it possible to run a service to upload this data?

I wants to have,

1. Run the service & upload date even if the application is closed.
2. Send & complete request if I redirect through my application pages

I would appreciate any help for this. 

Thank You.