LitFinder app aims to help users discover new books based on their preferences and interests. By providing personalized book recommendations, easy access to book genres, and the ability to purchase books directly from the app, users can conveniently explore, review, and purchase books that align with their reading preferences, ultimately enhancing their reading experience.
Open Terminal: Open your terminal or command prompt.
Clone the Repository: Use the git clone command followed by the repository URL.
Copy code
git clone https://github.com/LitFinder/mobile_development.git
Navigate to Project Directory: Change your directory to the cloned project.
Copy code
cd safepath
Open Android Studio: Launch Android Studio.
Open Existing Project: Click on "Open" or "Open an existing Android Studio project".
Navigate to the Project Directory: Browse to the directory where the project was cloned, then click "OK".
Wait for Project Sync: Android Studio will automatically start syncing the project. This might take a few minutes as it downloads necessary dependencies.
Open the BuildConfig File: Navigate to app/build.gradle within your project.
Configure the DefaultConfig: Inside build.gradle, find the defaultConfig block and add the necessary configurations. Example:
android {
compileSdkVersion 33
buildFeatures {
...
buildConfig = true
}
defaultConfig {
applicationId "com.example.myapp"
minSdkVersion 21
targetSdkVersion 33
versionCode 1
versionName "1.0"
buildConfigField("String", "BASE_URL", "\"https://example.com\"")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
...
}
After making changes, resynchronize your project by clicking Sync Now at the top of the editor. Or you can also use the following method:
Build -> Clean Project
After the project has finished synchronizing, the next stap is :
Build -> Rebuild Project
After all the steps are done, you will be able to call the name of the gradle build in the following way:
fun getApiBook(tokenProvider: () -> String): ApiService {
...
return Retrofit.Builder()
.baseUrl(BuildConfig.BASE_URL)
.client(client)
.addConverterFactory(GsonConverterFactory.create())
.build()
.create(ApiService::class.java)
}
- Splashscreen: The initial screen that appears when the app is launched.
- Login and Register: Allows users to create accounts or log in to access the app's features.
- Add book preference: Lets users input their favorite books to personalize recommendations.
- Add genre preference: Enables users to select their preferred book genres for tailored suggestions.
- Home: The main screen where users can navigate through different sections of the app.
- Recommendation book: Provides suggestions on books based on user preferences.
- Detailed Book, review book: Shows detailed information about a book and allows users to read and write reviews.
- Share book / banner: Allows users to share books or promotional banners with others.
- Buy Book: Allows users to buy their desired books by redirecting them to the book's purchasing website for a seamless shopping experience.
- Discovery: Helps users explore new books and genres they might be interested in.
- Bookshelf: A virtual shelf where users can organize and view their saved books.
- Profile (change personal data such as name, bio, profile picture, change password): Allows users to manage their personal information and account settings.
- Forget Password: Provides a way for users to reset their password if forgotten.
- Edit Genre Preference: Allows users to modify their selected book genres.
- Darkmode: A feature that changes the app's color scheme to a darker theme for reduced eye strain in low-light environments.





















