Best android open-source packages and libraries.

Smart IO

Android project to get information from the back end using Restful API to communicates with the back-end to get, update, and add new data to the database within the application.
Updated 6 months ago

Smart-IO

Android project to get information from the back end using Restful API.

The proposed system dives into agricultural scope by tracking the sensor's value assigned to the plant and managing the irrigation status.

The Android application communicates with the back-end to get, update, and add new data to the database within the application.

Disclamer

This app is part of a project that has been set up for demonstration purposes only!

The Android project is connected to a back-end server not properly configured for security purposes. Any sensitive information sent using the Android app can be vulnerable to outside attacks.

Technologies Used

  • Navigation Component: To navigate between fragments
  • Koin: For Dependency Injection
  • Kotlin Coroutines: Library for executing multi-thread operations
  • GSON: Used for getting server response
  • Retrofit: A Restful API used to execute get and post requests to the back-end server

App Feature

  • User Authentication: Login or Sign Up before starting to use the app
  • Group Policy: System has to type of user Manager and regular user
  • User Management: Edit user information, manage other users connected to it, and deactivate the account
  • Add new Crop or Sensor by managers
  • Assign Crop or Sensor to any user
  • Assign sensor to Crop
  • List sensor's value
  • Control the irrigation status manually

Screenshots

1. Login

#2. Sign UP

#3. User Info

List User Info and update his phone number or email address.

If the user has a manager role then he can open the Manage User Account menu, which will list the entire users assigned to him and will have the opportunity to activate or de activate any user from the list and assign any regular user to him.

4. Home

List all the crops that are being irrigated or the ones that stopped, by the day of the request

#5. Add Sensor

If the User has a manager role, he can add a new sensor to the database.

Clicking on the Barcode will redirect the user to the QR Scanner page, which will let the user scan the QR code of the sensor. When the scanner detects a QR code, the app will send the user back to the Add Sensor page and fill the QR tab with the detected QR code.

The user can assign a type to the sensor from the list of types or press the Add Sensor Type. Doing so will redirect the user to the Add Sensor Type page

6. Crop List

7. Crop-Sensors

List all the Sensors assigned to a selected plant.

Users can also assign a new sensor to the plant by clicking on the + button

8. History

Display all the sensor’s values by date.

The user can deactivate the crop-sensor assignment by clicking on the - button

Tags restful