A simple Android app displaying cat facts along with cat pictures. The app is compatible down to Android 5 Lollipop 🍭, API level 21.
- Cat facts provided by cat-facts API
- Cat pictures provided by TheCatApi
- Install the latest version of Android Studio, and make sure you have the latest SDK installed
- Clone this repository
- Open the project with Android Studio from the location you cloned the repository to
- Create a
local.properties
file in the root of the project - Obtain an API key for the TheCatApi if you don't own one yet: Instructions
- Add your API key for the TheCatApi to the
local.properties
file in the following way:
theCatApi.key=yourApiKey
- Run the project
- The layout and iconography of the app could be optimized
- Error handling is implemented in a very basic way, not stating specific error reasons
- On Android versions requiring storage permissions the user needs to tap on the share / save buttons another time, if the permission was just granted
- Images are saved to the gallery when trying to share for simplicity reasons