Earthquake app in android with Source code

Earthquake app in android with Source code


Earthquake app is an android based project. It is useful for getting earthquake information from different regions.  This is a very useful app and easy to use.

Earthquake app is a simple earthquake information app. It provides earthquake information of different locations.  Java is used for building this app. The user will get earthquake information according to magnitude and city name. It has a user-friendly interface. This application uses google API code. The code is simple to use and understand. You must provide uses permission.

While using google location service you must require a google API code. You will require an android studio IDE for using this project. Android studio is very useful IDE for building native android apps. It has a user-friendly interface. We will be using JSON earthquake API to get the information. The user interface of this app shows a google map. Earthquake app works correctly without error. See some screenshots below.

More about earthquake app

Earthquake application marks different locations where earthquake occur. The app pin location with different colours. When you press the pin it changes colour into red if the magnitude is higher than 2.0. Also you can see a pop up dialog when you click the pin. It shows the earthquake information. Such as city name, date earthquake occurs, nearby distance etc.

You can click more info option to get full information. We are using JSON API so it is easy to get the current information. Also we use volley library to send http request to our API which makes app faster.  You will learn new skills in this code. This project will be productive for you. Download the project and use the code by yourself.

How to use this project?

  • Download the project.
  • Get the code.
  • Open android studio IDE.
  • Set up the project.
  • Select an android emulator.
  • Execute the project code.
  • Get the latest earthquake information.
  • Enjoy!

Click the button below to get the source code for this project.