An Android Application to show details on the best-selling books based on the New York Times ratings.
Get it on Google Play using this link
To run this project, do the following:
- Clone the project
- Open the project from
Android Studio
- Get an API KEY for books api from here
- Ensure you have installed NDK, CMake and LLDB as shown in the developer page
- Add a folder named 'native' in the
data/src/main
- Create a C++ file named
native-lib.cpp
inside thenative
folder - Add the following C++ code to it. Replace the
<API_KEY>
with a base64 encoded version of the API key you obtained
#include <jni.h>
extern "C" {
JNIEXPORT jstring JNICALL
Java_com_eddy_data_rest_BooksApi_getAPIKey(JNIEnv *env, jclass type) {
return env-> NewStringUTF("<API_KEY>");
}
}
- Android Studio IDE
- Gradle
- Clone the project
git clone https://github.com/EddyMM/bookworm.git
- Open project using
Android Studio
- Sync with gradle files to get the necessary dependencies
- Run the project using emulator or connected Android Device
- Android SDK
- Gradle - Dependency Management
- Retrofit as a REST client library
- Picasso for image loading and caching
- FirebaseAuth - User Authentication
- Firebase Realtime Database - Data persistence
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push your branch (git push origin my-new-feature)
- Create a new Pull Request
- Eddy Mwenda Mwiti - EddyMM
This project is licensed under the MIT License - see the LICENSE.md file for details