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:
Login to the MongoLab for storing the database.
Create a database and inside that database, create the collection in which the data gets stored.
After that, you can easily obtain your API key from the MongoLab.
Now store the data inside the collection of the database.
After storing, retrieve the data from the collection of the database.