I have an Android App that needs to upload, download data files between 10-12MB relatively often. Given that my app is more popular in countries like India which may not have good internet connectivity I am working under following constraints
- User may not be connected to internet 24x7
- User's interaction does not depend on whether the download/upload succeeds.
This is a poems app where we download new poems to users phone and upload user's poems to our server whenever we are connected to internet.
I understand that using "com.loopj.android.http.AsyncHttpClient;" for the communication but I was wondering if there are any better alternatives which can do the following:
- Should I start a service which provides interfaces for upload/download ?
- Is it possible to do this stuff in background, even when user is not using the app?