How to design a client-server Android application?

The application must:
-work offline and save the data , after the advent of the Internet, synchronize changes with the server.
-as is clear from the above requirement - local database, backup server.

How to design and what faworki to use?
July 9th 19 at 12:47
3 answers
July 9th 19 at 12:49
MVP - architecture.
Dagger 2 - DI.
Retrofit 2 for network.
SQLite, Realm under the base.
ORMLite, GreenDAO - ORM if you want. You can still see on the Storio.
This is probably all super, well I'm nothing of the above is not familiar - winnifred_Kreiger commented on July 9th 19 at 12:52
: o_o
What a strange comment. Well, you wanted a regular telepath learned, what you know? So he's on vacation. I advise that he probably would have been using if there are no additional restrictions, even with the ability to choose. - Art_Christians commented on July 9th 19 at 12:55
: thanks for the advice. I'll try to deal with it. In the meantime, maybe you can give fitback on account of the Spring for android ? - winnifred_Kreiger commented on July 9th 19 at 12:58
: generally in Android so it is not accepted. Framework, of course, it's cool. And in the official examples ( https://github.com/spring-projects/spring-android-... ) I go to the network through asynctask memory leak. Th-that somehow fu. - Art_Christians commented on July 9th 19 at 13:01
July 9th 19 at 12:51
If you have the opportunity to connect directly to the database server, not via API (HTTP), then the local database is better to take the same as on the server, for example, locally to raise MySQL (via JDBC), and not to use SQLite - classic-embedded (local) database for Android which is query syntax, etc.
only via API - winnifred_Kreiger commented on July 9th 19 at 12:54
Do I understand correctly that you propose to raise MySQL on an Android device? - Art_Christians commented on July 9th 19 at 12:57
July 9th 19 at 12:53
Yesterday I stumbled on Spring for Android framwork. A little googling ran "between the lines" of thought is what I need.
How do you think it will be difficult to ride this framework for a couple of days to grow up with the experience of 4 months?

Find more questions by tags Android