2

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.

2 Answers2

0

You can not install mongodb in Android device, so, game over.

Oscar
  • 13,594
  • 8
  • 47
  • 75
0

It isn't possible to install MongoDB locally on Android device, because MongoDB latest releases doesn't support android device's CPU architecture. But i read an article online i gave it a try and it finally worked i was able to use MongoDB on my android device, hope it'll work for you too just give it a try

Here is the link to the article: https://codipher.com/install-mongodb-on-android/

Nasyx Nadeem
  • 241
  • 2
  • 12