This repository contains the mobile development for Berkebun+ Capstone Project.
Berkebun+ mobile application is used to interact with users by predicting the plant diseases by scanning plant leaf using camera or input an images from gallery and then the results of diagnoses will shows up and the users could save it.
- User Login
- User Registration
- Plant Diagnosis
- Weather Information
- Save Diagnosis
- User Profile
This project leverages the following technologies:
- Git & GitHub: Version control system for collaborative development and code management.
- Figma: Design tool for creating wireframes and prototypes of the mobile application.
- Discord: Communication platform for team collaboration and discussions.
- Android Studio: Integrated Development Environment (IDE) for building and testing Android applications.
- Postman: API testing tool to verify backend endpoints and request responses.
- Glide: Library for efficient image loading and caching in Android apps.
- Retrofit: HTTP client for handling API requests and JSON parsing.
- Android KTX: Kotlin extensions to simplify Android development with concise and idiomatic code.
- Jetpack Components:
- Room: Local database management for offline storage.
- ViewModel/LiveData: Implements MVVM architecture for UI and data binding.
- CameraX: Provides easy-to-use APIs for camera functionalities in the app.
- DataStore: Data persistence library for storing key-value data.
- Firebase: For user authentication
- Kotlin: The programming language used for Android development, known for its concise and safe syntax.
- Firestore: Saving user information
Before running the project locally, ensure you have the following installed and set up:
-
Android Studio
- Download and install from here.
-
JDK (Java Development Kit)
- Version 17 or newer.
-
Git
- Install Git from here.
-
Firebase Setup
- Create a project in Firebase Console.
- Add your Android app and download the
google-services.jsonfile.
-
Internet Connection
- Required for syncing Gradle and downloading dependencies.
To run this project locally, follow these steps:
-
Clone the Repository
git clone https://github.com/CP-Berkebun/Mobile-Development.git cd Mobile-Development -
Open the Project in Android Studio
- Open Android Studio.
- Go to File > Open, and select the cloned project directory.
- Wait for indexing and Gradle synchronization.
-
Add Firebase Configuration
- Place the
google-services.jsonfile (downloaded from Firebase Console) in theapp/directory of the project.
- Place the
-
Sync Gradle
- Click Sync Now in Android Studio if prompted. This ensures all dependencies are resolved correctly.
-
Run the Application
- Connect an Android device via USB or set up an emulator in Android Studio.
- Click the Run button (green triangle icon) to build and launch the application.
https://youtu.be/Y-g4-8tU2Rk?si=QVwZcdz3oehXdatX
https://drive.google.com/drive/folders/1cisDVuTD5TTsLbVdBZ2Roe9Bnp5q8KdO?usp=sharing
This mobile development was created by mobile development cohort: