0 votes
1 view
in Web Technology by (44.1k points)

Does anyone know how does MongoDB works on Android?  Does it work locally and you the data gets replicated later? Does work only online with just a web backend?

1 Answer

0 votes
by (94.9k points)

You can use MongoDB to store and retrieve the data from the android application. As you must be knowing that MongoDB is a NoSQL database that can store any kind of data(structured, unstructured, semi-structured). So using the MongoDB database to store the database from the android application we will be using MongoLab. Refer to the following steps:

  1. Login to the MongoLab for storing the database.

  2. Create a database and inside that database, create the collection in which the data gets stored.

  3. After that, you can easily obtain your API key from the MongoLab.

  4. Now store the data inside the collection of the database.

  5. After storing, retrieve the data from the collection of the database.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 18, 2019 in Web Technology by Sammy (47.8k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...