pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/harismexis/android-earthquakes

sorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-8522af645b000615.css" /> GitHub - harismexis/android-earthquakes: Showing earthquake info and open their locations on Google Maps · GitHub
Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

harismexis/android-earthquakes

Repository files navigation

Description

The application fetches a json feed of Earthquakes and shows the items in a list in Home screen. The UI distinguishes visually earthquakes with magnitude equal or greater than 8. The items are saved in local storage, so if internet is not available the cached items will be loaded instead. Clicking on an item of the list will open Google Maps on the specific Earthquake location. Clicking on the map menu item will open all the earthquake locations on the Map. There is also a Settings screen where the user can enter some preferences including their username. If the username is missing or it has not been registered an error message is shown.

Configuration

The project uses the Earthquakes API: https://www.geonames.org/export/JSON-webservices.html#earthquakesJSON
The API requires a username which can be obtained by creating an account in the website and registering the account username for using the APIs. The registration is done in the same website (geonames.org). The username needs to be entered in the Settings screen of the application. Also a MAPS_API_KEY needs to be entered in local.properties.

Technologies

Kotlin, Clean Architecture + MVVM, JetPack, Coroutines, LiveData, Room, ViewModel, Retrofit, Gson, Dagger, Mockito-kotlin, Mockk, Espresso.

Tests

The project contains Unit & Instrumented Tests. Some network responses from real JSON data have been used for mocking the network call responses and database items. The Tests share common resources under the sharedTest folder.

Screenshots

Home

Alt text

Map

Alt text

Map - all quakes

Alt text

Settings

Alt text

About

Showing earthquake info and open their locations on Google Maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy