Best Android ORM to merging with remote REST servers

1.1k views Asked by At

After search, I found ORMLite is the first Android ORM but I found ORMLite does not provide a solution for merging with remote REST servers.

How can I sync data between a webserver and an android app through ORMLite or other orm?

2

There are 2 answers

0
Vegim Hasani On

Try to use https://github.com/Raizlabs/DBFlow

It has a Direct-to-database parsing for data such as JSON so you can easily do the mapping from web service response to local database.

Check this example:

https://github.com/Raizlabs/DBFlow/blob/master/usage/ModelContainers.md

2
Simply Innovative On

Basically on mobile platform we have very less open source frameworks which provides both ORM and RESTful service on all the major platforms (Android, iOS, Windows).

Based on my research, please find below some of the most popular frameworks available in different areas:

ORM

RESTful

You can also check Siminov Framework which provides both ORM and RESTful service. It is available on all the major platforms (Android, iOS and Windows 8.1).