I need to achieve following for my current project:
If the application is launching for the first time:
01: call the rest End point to get the application basic info (HTTP:Get)
02: get the path information to download the Sqlite DB from server (JSON response contain the path to sqlite DB)
03: Download the SqliteDb file (zip) from server (to SD card)
04: Extract and copy to the application
05: show progress indicator till zip file is download/extract/copy to application
Note: All my Server End points are REST base, After user Launch the application he should be able to get the latest articles details/ post comment/upload new articles
I found following library help me to achieve the 4 step android-sqlite-asset-helper
To achieve the 1-3 steps which option is best and to deal with REST :
01. Intent Service /Gosn /HttpClient
02 Volly / Gson
03 RoboSpice/retrofit
please share your thoughts on which stack is best
Aucun commentaire:
Enregistrer un commentaire