This Android application is a project developed as part of the EGFWD Scholarship Program in collaboration with Udacity. The app fetches data from the NASA API to display information about asteroids. It utilizes various technologies and libraries such as RecyclerView with ListAdapter, coroutines for handling fetching and storing data, Room database for caching data, and WorkManager for background tasks.
- Fetches asteroid data from the NASA API
- Displays the fetched data in a RecyclerView using ListAdapter for efficient updates
- Implements coroutines to handle asynchronous tasks such as fetching and storing data
- Utilizes Room database for caching the retrieved asteroid data
- Works in the background using WorkManager for periodic data updates
To install and run the Asteroid Radar Android app, follow these steps:
- Clone the repository:
git clone https://github.com/Migz19/Asteroid_Radar_EGfwd.git
- Open the project in Android Studio.
- Build and run the app on an emulator or physical device.
Note: Make sure you have the Android development environment set up and configured properly.
Before running the app, you need to obtain an API key from NASA's API website. Follow these steps to configure the API key:
- Visit the NASA API website.
- Sign up or log in to your account.
- Create a new API key.
- Open the project in Android Studio.
- Replace the value of
BuildConfig.API_KEY
constant with your generated API key.
The following libraries and technologies were used in the development of this app:
- Retrofit: For making HTTP API requests and handling responses.
- Moshi: For JSON parsing and serialization.
- Glide: For image loading and caching.
- RecyclerView: For displaying the list of asteroids.
- Room: For local data caching and persistence.
- Coroutines: For handling asynchronous tasks.
- WorkManager: For background task scheduling.
Contributions to the Asteroid Radar Android app are welcome. If you find any bugs or want to suggest improvements, please feel free to submit a pull request or open an issue in the repository.
Before contributing, make sure to familiarize yourself with the project structure and coding guidelines mentioned in the CONTRIBUTING.md file.
The Asteroid Radar Android app is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.
- EGFWD Scholarship Program
- Udacity
- NASA's API
For any further information or inquiries, please contact:
Ahmed Magdy
Email: [email protected]