Usage
Table of Contents
WeEat Android Client
Description
The WeEat Android client is designed to interact with the WeEat backend to provide a user experience for managing food-related activities.
Features
- Seamless integration with the WeEat backend REST API.
- Display food information and recommendations.
- Support for audio input and output for enhanced interaction.
- Image and video analysis for food recognition.
Prerequisites
- Android Studio 4.2 or later.
- Android SDK with appropriate API levels.
- Internet permission for communicating with the backend.
Installation
- Clone the project repository.
- Open the project in Android Studio.
- Sync the project with Gradle to resolve dependencies.
Usage
Launch the application on your Android device or emulator.
Obtain the API endpoint URL of the WeEat backend. This can be configured in the application’s
settingfragment, you can find it in the settings tab and modify theDefault host urlfield andDefault user infofield.

Settings
- Navigate at the bottom to the chats page and interact with llm via
text/image/voicein the chats tab, you can press the bottom button to switch the input method.

LLM
- Navigate at the bottom to the chats page and start a cooking clock in the clocks tab.

Clock
- Navigate at the bottom to the chats page and handling your recipes in the recipes tab.

Recipe
- Navigate at the bottom to the overview page and check your stats.

Overview
- Navigate at the bottom to the storage page and you can check if your stored food is expired or add new food.

Storage Insert
- Navigate at the bottom to the timeline page and view a timeline of food eaten this week before it expired.

Timeline
Known Issues
- Some older Android devices may experience performance issues due to the complexity of image and video analysis.
- Network connectivity issues may affect the reliability of communicating with the backend.
Contributing
If you wish to contribute to the WeEat Android client, please follow these steps:
- Fork the repository => WeEat.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure they are properly tested.
- Submit a pull request with a clear description of your changes.