Skip to content

This application makes a request to NASA's APOD service and displays the metadata about picture of selected date.

Notifications You must be signed in to change notification settings

PrasoonDhaneshwar/Astronomy-Photo-Of-The-Day-Android

Repository files navigation

Astronomy Picture of the Day

https://apod.nasa.gov/apod/astropix.html

NASA APIs

This app generates requests based on NASA's APOD service: https://api.nasa.gov/

Sign up for your API key at:

https://api.nasa.gov/index.html#apply-for-an-api-key

An example query:

https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY

The DEMO_KEY should be changed at line 64 of MainActivity.java (mUrlRequestDefaultKey)

Download

Download it here to run the application in your Android phone.

App Features:

  • Allow users to search for the picture for a date of their choice.
  • Allow users to create/manage a list of "favorite" listings.
  • Displays date, explanation, title and the image of the day.

Extras:

  • Dark mode support
  • Handling for different screen sizes and orientations.

Screenshots

Select any date and fetch it's corresponding picture information.

"Add" it to "Favorites" and save the list.

Support for orientation:

Landscape workflow:

Detailed view of picture:

Dependencies

  • Volley. An HTTP library that makes networking for Android apps easier.
  • Picasso. A powerful image downloading and caching library for Android.
  • Gson. Convert Java Objects into their JSON representation.

Note: This app uses HTTP requests, and sometimes it may return a timeout. "View" again to make a request for metadata.

About

This application makes a request to NASA's APOD service and displays the metadata about picture of selected date.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages