I want to develop a offline android app with mongodb as my database.
Following are the things i need to implement:-
1)Can i install mongo db on android device
If we can do point 1 following are the things I need additional to it
2)When the internet is available the data on the android device should go to the mongodb on my server.
So, I will have to instance of mongodb database one on the android device and one on the server.
When internet connection is not available all the data goes to android device mongodb.
When internet connection is available then the android device data will be synced to server mongodb database.Similarly any changes in server data base should reflect in android local database once we get internet connection.
Will mongodb support this kind of architecture.