
Explore the Universe: An open-source Android app for browsing NASA’s extensive Image, Video, and Audio Library.
📱 About The Project
NASA Media Explorer is a powerful, user-friendly Android application that brings NASA’s vast multimedia collection right to your fingertips. Built with modern Android development practices, the app provides a seamless interface for discovering and interacting with space-related content, from breathtaking images of distant galaxies to educational videos and audio recordings from historic missions.
Whether you’re a space enthusiast, educator, or student, NASA Media Explorer makes it easy to search, filter, and enjoy NASA’s public media library with advanced playback features and an intuitive UI.
📸 Screenshots
 |
 |
 |
 |
| Home |
Search Results |
Media Detail |
Video Player |
 |
 |
 |
 |
| Image Zoom |
Audio Player |
Search Filter |
Pull-to-Refresh |
✨ Key Features
- 🔍 Advanced Search – Intuitive SearchView integration for browsing NASA’s complete media library.
- 🎯 Smart Filtering – Filter results by media type: Images, Videos, or Audio.
- 🎬 Video Playback – Smooth video streaming with caching powered by Media3 ExoPlayer.
- 🎵 Audio Playback – Background audio support via MediaSessionService for uninterrupted listening.
- 🔎 Image Zoom – Pinch-to-zoom functionality using the Zoomy library.
- 🔄 Pull-to-Refresh – SwipeRefreshLayout for effortless content updates.
- 📱 Responsive UI – Built with RecyclerView, CardView, ConstraintLayout, and LinearLayout.
- 📊 Analytics – Firebase Analytics integration for anonymous usage insights.
🛠️ Tech Stack & Dependencies
| Library |
Purpose |
| Volley |
HTTP networking & API requests |
| Gson |
JSON parsing |
| Glide |
Image loading & caching |
| SwipeRefreshLayout |
Pull-to-refresh functionality |
| Zoomy |
Pinch-to-zoom for images |
| Media3-ExoPlayer |
Video playback with caching |
| Media3-UI |
ExoPlayer UI components |
| Media3-Session |
Background audio service |
| Firebase Analytics |
Anonymous usage analytics |
🏗️ Android Components
- SearchView – Media library search
- SwipeRefreshLayout – List refresh
- RecyclerView – Scrollable media list
- CardView – Media item styling
- ConstraintLayout & LinearLayout – Responsive layouts
- Service – Background audio playback
- CacheDataSource – Video caching
- CircularProgressDrawable – Loading indicators
📥 Installation
Prerequisites
- Android Studio (Latest version recommended)
- Android SDK with API level 28+
Steps
-
Clone the repository
git clone https://github.com/ahmadrezagh671/NASA_Media_Explorer.git
cd NASA_Media_Explorer
-
Open in Android Studio
- Launch Android Studio
- Select
Open an existing project
- Navigate to the cloned directory
-
Firebase Configuration
⚠️ Important: The project uses Google Analytics for Firebase.
- Obtain
google-services.json from the Firebase Console
- Place it in the
app/ directory
- If forking, replace the existing file with your own
-
Build & Run
- Sync Gradle files
- Run on an emulator or physical device (API 28+)
🔒 Privacy & Analytics
This app uses Google Analytics for Firebase to collect anonymous usage data to improve the user experience. No personally identifiable information is collected.
For more details, see:
Note: If you fork this project, you are responsible for your own privacy policy and compliance with applicable regulations.
📄 License
This project is licensed under the MIT License – see the LICENSE file for details.
Attribution Notice
- The MIT License applies only to this project’s own source code.
- Third-party libraries and SDKs (including Firebase/Google Analytics) are governed by their respective licenses and terms. See the LICENSE file for more information.
🙏 Acknowledgments
- NASA Open APIs – For providing free access to their incredible media library.
- Open-Source Community – For the amazing libraries that power this app.
- Contributors – For helping improve and maintain this project.
🤝 Contributing
Contributions are welcome! Feel free to:
- Report bugs via Issues
- Submit feature requests
- Create pull requests with improvements
评论