Bluetooth Load Cell and Milk Collection App
An Android application that receives load-cell measurements over Bluetooth and manages customer and collection records in a local database.

About the Project
This Android application digitizes milk collection and unloading records by transferring load-cell measurements to a phone over Bluetooth. Beyond displaying the current weight, it stores customers, collected milk, and unloading records in local SQLite tables.
Goal
The goal is to combine a field measurement with customer and date information, producing a persistent record that can be reviewed later.
How It Works
The user selects a paired Bluetooth device. bluetoothConnncetorCls opens an RFCOMM socket and manages input and output streams in dedicated threads. MainActivity receives messages through an Android handler and updates the measurement flow. Record screens associate the reading with a customer and write it through DAO classes; RecyclerView-based screens present device, customer, and history lists.
Technologies
- Java / Android SDK: activities, navigation, and application logic.
- Bluetooth RFCOMM: serial-style connection to the measuring device.
- SQLite: customer, collection, and unloading records.
- RecyclerView: device, customer, and measurement-history lists.
Project Structure
MainActivity.java: connection state and incoming measurement messages.bluetoothConnncetorCls.java: connection and transfer threads.VeritabaniYardimcisi.java: local database setup.musterilerDAO.java,sutlerDAO.java,bosaltilansutlerDAO.java: data-access layer.SelectDeviceActivity.java: paired-device selection.
Technical Highlights
- Background-thread Bluetooth socket management
- Association of physical measurements with customer records
- Date-oriented history screens and local persistence
